From: rnv Date: Mon, 20 Sep 2010 10:50:39 +0000 (+0000) Subject: Fix of the IPAL21943: WinTC5.1.4: Crash of animation X-Git-Tag: mergeto_V5_1_main_04Oct10~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=add1c594a0ab8161e587aab45b1bed73eaa64879;p=modules%2Fvisu.git Fix of the IPAL21943: WinTC5.1.4: Crash of animation --- diff --git a/src/OBJECT/VISU_IsoSurfActor.cxx b/src/OBJECT/VISU_IsoSurfActor.cxx index 769563a9..52785d4c 100644 --- a/src/OBJECT/VISU_IsoSurfActor.cxx +++ b/src/OBJECT/VISU_IsoSurfActor.cxx @@ -122,8 +122,8 @@ void VISU_IsoSurfActor::AddToRender(vtkRenderer* theRenderer) //---------------------------------------------------------------------------- void VISU_IsoSurfActor::RemoveFromRender(vtkRenderer* theRenderer) { - VISU_ScalarMapAct::RemoveFromRender(theRenderer); theRenderer->RemoveActor(myLabels); + VISU_ScalarMapAct::RemoveFromRender(theRenderer); } //From vtkFollower