]> OCCT Git - occt.git/commitdiff
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 6eb71b0fd16dbfca0b69061f995e8f17070784ac..b3f5f92a1fcfbfc87cc5f942f08c0a04fd1061e7 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