]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
SWP12260
authorouv <ouv@opencascade.com>
Tue, 8 Aug 2006 12:14:04 +0000 (12:14 +0000)
committerouv <ouv@opencascade.com>
Tue, 8 Aug 2006 12:14:04 +0000 (12:14 +0000)
src/OBJECT/VISU_GaussPtsAct.cxx

index ac8ca23961befa6ce8a222d79f576e2901a005c2..1eaff4b95ed829534d329427944d168fb6a4a15f 100644 (file)
@@ -254,8 +254,6 @@ VISU_GaussPtsAct
 {
   if(MYDEBUG) MESSAGE("VISU_GaussPtsAct::RemoveFromRender - this = "<<this);
 
-  Superclass::RemoveFromRender(theRenderer);
-
   myDeviceActor->RemoveFromRender(theRenderer);
   
   theRenderer->RemoveActor(myTextActor.GetPointer());
@@ -264,6 +262,8 @@ VISU_GaussPtsAct
   myCursorPyramid->RemoveFromRender(theRenderer);
   myCursorPyramidSelected->RemoveFromRender(theRenderer);
   myScalarBarCtrl->RemoveFromRender(theRenderer);
+
+  Superclass::RemoveFromRender(theRenderer);
 }
 
 void 
@@ -1148,10 +1148,10 @@ void
 VISU_GaussPtsAct1
 ::RemoveFromRender(vtkRenderer* theRenderer)
 {
-  Superclass::RemoveFromRender(theRenderer);
-
   myInsideDeviceActor->RemoveFromRender(theRenderer);
   myOutsideDeviceActor->RemoveFromRender(theRenderer);
+
+  Superclass::RemoveFromRender(theRenderer);
 }
 
 void