From: ouv Date: Thu, 2 Feb 2012 12:38:29 +0000 (+0000) Subject: Improvement of the highlighting/selection mechanism for the case of several coinciden... X-Git-Tag: CTH_1_7_3~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8bbdd756c513c7af6f92cb6a97a905c376fb3681;p=modules%2Fgui.git Improvement of the highlighting/selection mechanism for the case of several coincident actors. Additional fix. --- diff --git a/src/SVTK/SVTK_InteractorStyle.cxx b/src/SVTK/SVTK_InteractorStyle.cxx index 5c59da5c8..5d3599e71 100644 --- a/src/SVTK/SVTK_InteractorStyle.cxx +++ b/src/SVTK/SVTK_InteractorStyle.cxx @@ -1052,7 +1052,8 @@ void SVTK_InteractorStyle::onFinishOperation() { if( SALOME_Actor* anActor = SALOME_Actor::SafeDownCast( aVTKActor ) ) { - if( anActor->Highlight( this, aSelectionEvent, true ) ) + if( anActor->Highlight( this, aSelectionEvent, true ) && + anActor->isHighlighted() ) { aHighlightedActor = anActor; break;