From: ouv Date: Fri, 25 Nov 2011 13:16:00 +0000 (+0000) Subject: To update view after highlighting only if it is actually required. X-Git-Tag: CTH_V17a~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3a1e4b40222810aa2cb7c21c1e2ea45e61ab3962;p=modules%2Fgui.git To update view after highlighting only if it is actually required. --- diff --git a/src/SVTK/SVTK_View.cxx b/src/SVTK/SVTK_View.cxx index d9186b84c..2fac0c3e3 100644 --- a/src/SVTK/SVTK_View.cxx +++ b/src/SVTK/SVTK_View.cxx @@ -206,7 +206,8 @@ SVTK_View ForEachIf(getRenderer()->GetActors(), TIsSameIObject( theIO ), THighlightAction(theIsHighlight)); - Repaint(); + if( theIsUpdate ) + Repaint(); } /*!