mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-21 10:55:33 +03:00
0029779: Visualization, SelectMgr_SelectableObject - sensitivity change for object not activated in given mode leads to crash
This commit is contained in:
parent
26b004e9e8
commit
0e4e721c6b
@ -957,7 +957,7 @@ void SelectMgr_SelectionManager::SetSelectionSensitivity (const Handle(SelectMgr
|
|||||||
}
|
}
|
||||||
|
|
||||||
const Handle(SelectMgr_Selection)& aSel = theObject->Selection (theMode);
|
const Handle(SelectMgr_Selection)& aSel = theObject->Selection (theMode);
|
||||||
if (theObject.IsNull())
|
if (aSel.IsNull())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,9 @@ if {$aNbSelected != "0"} {
|
|||||||
puts "ERROR: no boxes must be selected!"
|
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
|
# increase tolerance for b1
|
||||||
vaspects b1 -setSensitivity 2 4
|
vaspects b1 -setSensitivity 2 4
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user