From fb1ed51ab03726b1723c51ea0225650f17606dac Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 30 Nov 2006 13:51:29 +0000 Subject: [PATCH] To implement RemoveFromStudy for ColoredPrs3dCache instances --- src/VISU_I/VISU_ColoredPrs3dCache_i.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/VISU_I/VISU_ColoredPrs3dCache_i.cc b/src/VISU_I/VISU_ColoredPrs3dCache_i.cc index ce6206b0..3e7e61da 100644 --- a/src/VISU_I/VISU_ColoredPrs3dCache_i.cc +++ b/src/VISU_I/VISU_ColoredPrs3dCache_i.cc @@ -220,7 +220,12 @@ VISU::ColoredPrs3dCache_i void VISU::ColoredPrs3dCache_i ::RemoveFromStudy() -{} +{ + CORBA::String_var anIOR = GetID(); + SALOMEDS::SObject_var aSObject = GetStudyDocument()->FindObjectIOR(anIOR.in()); + VISU::RemoveFromStudy(aSObject, false, true); + Destroy(); +} std::string VISU::ColoredPrs3dCache_i -- 2.39.2