mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0030695: Visualization - selection by box should use clipping planes set for viewer - moving check on touching the clipping plane in selection only.
This commit is contained in:
@@ -160,6 +160,8 @@ void StdSelect_ViewerSelector3d::Pick (const Standard_Integer theXPMin,
|
||||
mySelectingVolumeMgr.BuildSelectingVolume (aMinMousePos,
|
||||
aMaxMousePos);
|
||||
|
||||
mySelectingVolumeMgr.SetViewClipping (theView->ClipPlanes(), Handle(Graphic3d_SequenceOfHClipPlane)());
|
||||
|
||||
TraverseSensitives();
|
||||
}
|
||||
|
||||
@@ -178,6 +180,8 @@ void StdSelect_ViewerSelector3d::Pick (const TColgp_Array1OfPnt2d& thePolyline,
|
||||
mySelectingVolumeMgr.SetWindowSize (aWidth, aHeight);
|
||||
mySelectingVolumeMgr.BuildSelectingVolume (thePolyline);
|
||||
|
||||
mySelectingVolumeMgr.SetViewClipping (theView->ClipPlanes(), Handle(Graphic3d_SequenceOfHClipPlane)());
|
||||
|
||||
TraverseSensitives();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user