0024466: Visualization - PrsMgr_Presentation3d::Erase() now leads to incomplete destr...
authorkgv <kgv@opencascade.com>
Sun, 15 Dec 2013 12:25:16 +0000 (16:25 +0400)
committerkgv <kgv@opencascade.com>
Sun, 15 Dec 2013 12:25:16 +0000 (16:25 +0400)
src/PrsMgr/PrsMgr_Presentation3d.cxx

index 6eb71b0..b3f5f92 100755 (executable)
@@ -72,6 +72,7 @@ void PrsMgr_Presentation3d::Erase ()
 {
   // Erase structure from structure manager
   myStructure->Erase();
+  myStructure->Clear();
   // Disconnect other structures
   myStructure->DisconnectAll (Graphic3d_TOC_DESCENDANT);
   // Clear groups and remove graphic structure