]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fixed bug with delete clipping plane
authorvsv <vsv@opencascade.com>
Mon, 13 Oct 2008 15:38:41 +0000 (15:38 +0000)
committervsv <vsv@opencascade.com>
Mon, 13 Oct 2008 15:38:41 +0000 (15:38 +0000)
src/VISU_I/VISU_ClippingPlaneMgr.cxx

index a9c4ff62abc172dbf8f687753bc117ae6cc188e1..c845d9b52df9056df96852d672bbbd24863ca85d 100644 (file)
@@ -320,6 +320,7 @@ bool VISU_ClippingPlaneMgr::DeleteClippingPlane(long id)
        _PTR(StudyBuilder) aBuilder = myStudy->NewBuilder();
        aBuilder->RemoveObject(aSObj);
       }
+      myPlanes->RemoveItem(id);
       return true;
     }
   }