mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +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;
|
||||
}
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user