mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0028390: Visualization, AIS_InteractiveContext - add topmost-only picking strategy
AIS_InteractiveContext::PickingStrategy(), added new property defining picking strategy SelectMgr_PickingStrategy. Strategy SelectMgr_PickingStrategy_OnlyTopmost allows picking only topmost detected entity not rejected by Selection Filters.
This commit is contained in:
@@ -119,6 +119,7 @@ myDefaultDrawer(new Prs3d_Drawer()),
|
||||
myCurLocalIndex(0),
|
||||
myCurDetected(0),
|
||||
myCurHighlighted(0),
|
||||
myPickingStrategy (SelectMgr_PickingStrategy_FirstAcceptable),
|
||||
myIsAutoActivateSelMode(Standard_True)
|
||||
{
|
||||
myStyles[Prs3d_TypeOfHighlight_None] = myDefaultDrawer;
|
||||
|
Reference in New Issue
Block a user