From: apo Date: Fri, 3 Nov 2006 09:47:11 +0000 (+0000) Subject: To improve highlight method - selection will be extended on the pointed InteractiveObject X-Git-Tag: WP1_2_3_06-10-2006~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3386a77b80e551c30ed5487bd8fa9a68ff3e9f7;p=modules%2Fvisu.git To improve highlight method - selection will be extended on the pointed InteractiveObject --- diff --git a/src/VVTK/VVTK_ViewWindow.cxx b/src/VVTK/VVTK_ViewWindow.cxx index b0d70802..a7512e88 100755 --- a/src/VVTK/VVTK_ViewWindow.cxx +++ b/src/VVTK/VVTK_ViewWindow.cxx @@ -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 ); }