]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix on Bug GVIEW10273
authorapo <apo@opencascade.com>
Fri, 14 Oct 2005 12:24:09 +0000 (12:24 +0000)
committerapo <apo@opencascade.com>
Fri, 14 Oct 2005 12:24:09 +0000 (12:24 +0000)
  "Clipping planes" functionality works incorrectly.
We should check theActor->hasIO() in THighlightAction, in other case secondary actors will be also modified

src/SVTK/SVTK_View.cxx

index 98d158291043dc0974028dee678caf686d1159b6..43813dd1c8da5a37445e1d6ca2f11ea5803b1332 100644 (file)
@@ -135,7 +135,7 @@ struct THighlightAction
   void
   operator()( SALOME_Actor* theActor) 
   {
-    if(theActor->GetMapper()){
+    if(theActor->GetMapper() && theActor->hasIO()){
       theActor->highlight( myIsHighlight, mySelectionMode );
     }
   }