mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0029779: Visualization, SelectMgr_SelectableObject - sensitivity change for object not activated in given mode leads to crash
This commit is contained in:
@@ -957,7 +957,7 @@ void SelectMgr_SelectionManager::SetSelectionSensitivity (const Handle(SelectMgr
|
||||
}
|
||||
|
||||
const Handle(SelectMgr_Selection)& aSel = theObject->Selection (theMode);
|
||||
if (theObject.IsNull())
|
||||
if (aSel.IsNull())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user