From: apo Date: Thu, 30 Nov 2006 13:46:28 +0000 (+0000) Subject: To finalize RemoveFromStudy by calling Destroy() function X-Git-Tag: WP1_2_3_05-12-2006_cache_system~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=12ddadccf83ca7fd292e6dabd83107950ddf7dde;p=modules%2Fvisu.git To finalize RemoveFromStudy by calling Destroy() function --- diff --git a/src/VISU_I/VISU_ColoredPrs3dHolder_i.cc b/src/VISU_I/VISU_ColoredPrs3dHolder_i.cc index f4324ef7..0dfe8781 100644 --- a/src/VISU_I/VISU_ColoredPrs3dHolder_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3dHolder_i.cc @@ -174,6 +174,7 @@ VISU::ColoredPrs3dHolder_i CORBA::String_var anIOR = GetID(); SALOMEDS::SObject_var aSObject = GetStudyDocument()->FindObjectIOR(anIOR.in()); VISU::RemoveFromStudy(aSObject, false); + Destroy(); } //----------------------------------------------------------------------------