mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0026973: Visualization - selection of entities hidden by clipping planes is broken
- misprint in distance calculation in SelectMgr_RectangularFrustum::IsClipped is corrected; - selecting volume manager in clipping check in SelectMgr_ViewerSelector::checkOverlap was replaced ; - added view-defined clipping planes check to SelectMgr_RectangularFrustum; - test case for issue #26973.
This commit is contained in:
@@ -230,8 +230,8 @@ void SelectMgr_ViewerSelector::checkOverlap (const Handle(SelectBasics_Sensitive
|
||||
{
|
||||
if (HasDepthClipping (anOwner) && theMgr.GetActiveSelectionType() == SelectMgr_SelectingVolumeManager::Point)
|
||||
{
|
||||
Standard_Boolean isClipped = theMgr.IsClipped (anOwner->Selectable()->GetClipPlanes(),
|
||||
aPickResult.Depth());
|
||||
Standard_Boolean isClipped = mySelectingVolumeMgr.IsClipped (anOwner->Selectable()->GetClipPlanes(),
|
||||
aPickResult.Depth());
|
||||
if (isClipped)
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user