From 5396d9ca176c84515aebf523dd07be6de5846515 Mon Sep 17 00:00:00 2001 From: kgv Date: Sun, 15 Dec 2013 16:25:16 +0400 Subject: [PATCH] 0024466: Visualization - PrsMgr_Presentation3d::Erase() now leads to incomplete destruction of Graphic3d_Structure --- src/PrsMgr/PrsMgr_Presentation3d.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PrsMgr/PrsMgr_Presentation3d.cxx b/src/PrsMgr/PrsMgr_Presentation3d.cxx index 6eb71b0fd1..b3f5f92a1f 100755 --- a/src/PrsMgr/PrsMgr_Presentation3d.cxx +++ b/src/PrsMgr/PrsMgr_Presentation3d.cxx @@ -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