From: vsv Date: Mon, 13 Oct 2008 15:38:41 +0000 (+0000) Subject: Fixed bug with delete clipping plane X-Git-Tag: V5_1_0a3~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=648d5adf8ddebbe44240ff87a01ab7a25fcb2934;p=modules%2Fvisu.git Fixed bug with delete clipping plane --- diff --git a/src/VISU_I/VISU_ClippingPlaneMgr.cxx b/src/VISU_I/VISU_ClippingPlaneMgr.cxx index a9c4ff62..c845d9b5 100644 --- a/src/VISU_I/VISU_ClippingPlaneMgr.cxx +++ b/src/VISU_I/VISU_ClippingPlaneMgr.cxx @@ -320,6 +320,7 @@ bool VISU_ClippingPlaneMgr::DeleteClippingPlane(long id) _PTR(StudyBuilder) aBuilder = myStudy->NewBuilder(); aBuilder->RemoveObject(aSObj); } + myPlanes->RemoveItem(id); return true; } }