1
0
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:
nds
2018-05-16 17:06:10 +03:00
committed by abv
parent 26b004e9e8
commit 0e4e721c6b
2 changed files with 4 additions and 1 deletions

View File

@@ -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;
}