]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
To update view after highlighting only if it is actually required.
authorouv <ouv@opencascade.com>
Fri, 25 Nov 2011 13:16:00 +0000 (13:16 +0000)
committerouv <ouv@opencascade.com>
Fri, 25 Nov 2011 13:16:00 +0000 (13:16 +0000)
src/SVTK/SVTK_View.cxx

index d9186b84c7f34fd049196a63d757f0f55cb2929a..2fac0c3e3c8427f1f14ff9c026a8aa75e294001f 100644 (file)
@@ -206,7 +206,8 @@ SVTK_View
   ForEachIf<SALOME_Actor>(getRenderer()->GetActors(),
                          TIsSameIObject<SALOME_Actor>( theIO ),
                          THighlightAction(theIsHighlight));
-  Repaint();
+  if( theIsUpdate )
+    Repaint();
 }
 
 /*!