From: ouv Date: Wed, 17 Aug 2005 13:35:38 +0000 (+0000) Subject: AddToRender() and RemoveFromRender() corrected X-Git-Tag: T_3_0_2a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e048ffa461bf8e0bec6a241862a2c37c960fb39;p=modules%2Fvisu.git AddToRender() and RemoveFromRender() corrected --- diff --git a/src/OBJECT/VISU_MeshAct.cxx b/src/OBJECT/VISU_MeshAct.cxx index 5a723e6d..68f7446a 100644 --- a/src/OBJECT/VISU_MeshAct.cxx +++ b/src/OBJECT/VISU_MeshAct.cxx @@ -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); }