]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
SVTK_Viewer::EraseAll for call with parameter "true" is fixed to remove a renderer...
authorrkv <rkv@opencascade.com>
Tue, 14 Nov 2006 10:27:24 +0000 (10:27 +0000)
committerrkv <rkv@opencascade.com>
Tue, 14 Nov 2006 10:27:24 +0000 (10:27 +0000)
src/SVTK/SVTK_ViewModel.cxx

index 0624c7d47988a2cf37dd867c3874cc9916e69481..3128c1678b6b37446a23c0cc8857091173600685 100644 (file)
@@ -410,7 +410,8 @@ SVTK_Viewer
            //if(!anObj.IsNull() && anObj->hasEntry() && aStudy)
            //  ToolsGUI::SetVisibility(aStudy,anObj->getEntry(),false,this);
            if(forced)
-             aRenderer->RemoveActor(anAct);
+             // RKV : aRenderer->RemoveActor(anAct);
+        anAct->RemoveFromRender(aRenderer); // RKV
            else{
              // just erase actor
              anAct->SetVisibility( false );