From: apo Date: Mon, 17 Oct 2005 06:06:24 +0000 (+0000) Subject: Fix on Bug GVIEW10305 X-Git-Tag: TG-D5-38-2003_D2005-20-12~156 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7392c1ab8535a9b3ac0632843febb0e893d27178;p=modules%2Fvisu.git Fix on Bug GVIEW10305 Sigsegv after closing document Now, myRemoveActorsFromRendererSignal is called before VISU::Prs3d destruction --- diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index 0fd66505..ba9ba446 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -93,6 +93,7 @@ VISU::Prs3d_i ::~Prs3d_i() { if(MYDEBUG) MESSAGE("Prs3d_i::~Prs3d_i - this = "<Delete(); myResult->Destroy(); } @@ -167,7 +168,7 @@ VISU::Prs3d_i ::RemoveFromStudy() { myRemoveActorsFromRendererSignal(); - myActorCollection->RemoveAllItems(); + Destroy(); }