]> 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)
committervglukhik <vglukhik@opencascade.com>
Fri, 17 Mar 2023 23:04:14 +0000 (23:04 +0000)
commitf0401b93a04ea181843e6731009311bb5115adc4
tree9406b58d269abb7bdb107a96c59775933494fa08
parentcbd3892496b273c39e97dfc47cdcc27b02af36ea
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