]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To finalize RemoveFromStudy by calling Destroy() function
authorapo <apo@opencascade.com>
Thu, 30 Nov 2006 13:46:28 +0000 (13:46 +0000)
committerapo <apo@opencascade.com>
Thu, 30 Nov 2006 13:46:28 +0000 (13:46 +0000)
src/VISU_I/VISU_ColoredPrs3dHolder_i.cc

index f4324ef7de77b7c57412ae6e776301e4913c0e20..0dfe87817238a46ec99c29b86ad04c32a7b4cb48 100644 (file)
@@ -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();
 }
 
 //----------------------------------------------------------------------------