]> OCCT Git - occt.git/commit
0027848: Visualization - sensitivity of lines is too high
authormzernova <mzernova@opencascade.com>
Tue, 22 Nov 2022 11:30:24 +0000 (11:30 +0000)
committerVadim Glukhikh <vadim.glukhikh@opencascade.com>
Sat, 4 Feb 2023 09:17:58 +0000 (09:17 +0000)
commitb0afa94d10cabb2709524aaa29d4f490cf3faa58
treef01e8834eba82478fe778264a8d8d57270e0c6ed
parentc772c6caa484d3d8737b8eee575531e2ac231878
0027848: Visualization - sensitivity of lines is too high

Improved objects sorting by depth.

The sensitivity calculation for the manipulator has been changed.
Now the sensitivity of the elements of the manipulator depends on its size.

Also fixed the problem of erroneous selection of unfilled circles (SelectMgr_Frustum<N>::hasCircleOverlap() function).

Test case vselect/bugs/bug27848 added.
13 files changed:
src/AIS/AIS_Manipulator.cxx
src/SelectMgr/SelectMgr_Frustum.lxx
src/SelectMgr/SelectMgr_SortCriterion.hxx
src/SelectMgr/SelectMgr_ViewerSelector.cxx
tests/v3d/dimensions/bug24389
tests/v3d/manipulator/drag_in_2d_view
tests/v3d/manipulator/dragg
tests/v3d/manipulator/rotate
tests/v3d/manipulator/translate
tests/vselect/bugs/bug23012
tests/vselect/bugs/bug23539_2
tests/vselect/bugs/bug27848 [new file with mode: 0644]
tests/vselect/edge/A10