mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0024459: Exception during clearing object in test case v3d/raytrace/connected in DEBUG mode
This commit is contained in:
parent
eef7fc6447
commit
6bf1bdbd22
@ -72,6 +72,8 @@ void PrsMgr_Presentation3d::Erase ()
|
||||
{
|
||||
// Erase structure from structure manager
|
||||
myStructure->Erase();
|
||||
// Disconnect other structures
|
||||
myStructure->DisconnectAll (Graphic3d_TOC_DESCENDANT);
|
||||
// Clear groups and remove graphic structure
|
||||
myStructure.Nullify();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user