]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix of the IPAL21943: WinTC5.1.4: Crash of animation
authorrnv <rnv@opencascade.com>
Mon, 20 Sep 2010 10:50:39 +0000 (10:50 +0000)
committerrnv <rnv@opencascade.com>
Mon, 20 Sep 2010 10:50:39 +0000 (10:50 +0000)
src/OBJECT/VISU_IsoSurfActor.cxx

index 769563a9482c390f97b0301272e26160ac29741d..52785d4c4b66836df5041e43d7971bc7c1196b53 100644 (file)
@@ -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