mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026159: Visualization - revise tolerance implementation for selection
Max tolerance is now applied to all objects and entities by default; if there is an entity with a lower tolerance, selecting frustum will be recalculated for it. The ability to set sensitivity for each entity individually is moved to protected section of SelectBasics_SensitiveEntity SetPixelTolerance from AIS_InteractiveContext now sets custom tolerance that is applied to all sensitives. Added -unset option to vselprecision command to disable custom tolerances. Test case for issue #26159
This commit is contained in:
@@ -54,11 +54,6 @@ is
|
||||
---Purpose: Checks whether the sensitive entity is overlapped by
|
||||
-- current selecting volume
|
||||
|
||||
SetSensitivityFactor (me : mutable;
|
||||
theSensFactor :Real from Standard);
|
||||
---C++: inline
|
||||
---Purpose: Allows to manage the sensitivity of the entity
|
||||
|
||||
SensitivityFactor (me)
|
||||
returns Real from Standard;
|
||||
---C++: inline
|
||||
@@ -83,6 +78,12 @@ is
|
||||
Clear (me : mutable) is deferred;
|
||||
---Purpose: Clears up all the resources and memory allocated
|
||||
|
||||
SetSensitivityFactor (me : mutable;
|
||||
theSensFactor :Real from Standard)
|
||||
is protected;
|
||||
---C++: inline
|
||||
---Purpose: Allows to manage the sensitivity of the entity
|
||||
|
||||
|
||||
fields
|
||||
|
||||
|
Reference in New Issue
Block a user