]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
AddToRender() and RemoveFromRender() corrected
authorouv <ouv@opencascade.com>
Wed, 17 Aug 2005 13:35:38 +0000 (13:35 +0000)
committerouv <ouv@opencascade.com>
Wed, 17 Aug 2005 13:35:38 +0000 (13:35 +0000)
src/OBJECT/VISU_MeshAct.cxx

index 5a723e6d11d14a632dc027f1f3d717e655e64ce5..68f7446a6c7e2000cd61fb7644f9004c74f5ae94 100644 (file)
@@ -97,12 +97,12 @@ void VISU_MeshAct::SetPrs3d(VISU::Prs3d_i* thePrs3d){
 }
 
 void VISU_MeshAct::AddToRender(vtkRenderer* theRenderer){
-  theRenderer->AddActor(this);
+  VISU_Actor::AddToRender(theRenderer);
   theRenderer->AddActor(myEdgeActor);
 }
 
 void VISU_MeshAct::RemoveFromRender(vtkRenderer* theRenderer){
-  theRenderer->RemoveActor(this);
+  VISU_Actor::RemoveFromRender(theRenderer);
   theRenderer->RemoveActor(myEdgeActor);
 }