]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To improve highlight method - selection will be extended on the pointed InteractiveObject
authorapo <apo@opencascade.com>
Fri, 3 Nov 2006 09:47:11 +0000 (09:47 +0000)
committerapo <apo@opencascade.com>
Fri, 3 Nov 2006 09:47:11 +0000 (09:47 +0000)
src/VVTK/VVTK_ViewWindow.cxx

index b0d70802dba05899c2066d7fb39b3024644007f4..a7512e886c9ca1872e79e69f084524fc9ef05364 100755 (executable)
@@ -227,6 +227,8 @@ VVTK_ViewWindow
            bool theIsHighlight, 
            bool theIsUpdate ) 
 {
+  if(GetSelector()->AddIObject(theIO))
+    GetSelector()->EndPickCallback();
   myView1->highlight( theIO, theIsHighlight, theIsUpdate );
   myView2->highlight( theIO, theIsHighlight, theIsUpdate );
 }