1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-16 10:54:53 +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;
}

View File

@ -29,6 +29,9 @@ if {$aNbSelected != "0"} {
puts "ERROR: no boxes must be selected!"
}
puts "0029779: Visualization, SelectMgr_SelectableObject - sensitivity change for object not activated in given mode leads to crash"
vaspects b1 -setSensitivity 3 4
# increase tolerance for b1
vaspects b1 -setSensitivity 2 4