1
0
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:
dbp 2013-12-12 19:22:02 +04:00 committed by abv
parent eef7fc6447
commit 6bf1bdbd22

View File

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