From: ouv Date: Wed, 3 Mar 2010 12:54:41 +0000 (+0000) Subject: 0020735: EDF 1308 VISU: Gauss point picking not possible when a mesh representation... X-Git-Tag: V5_1_4a1~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=23ed2f469d8ab12a5c17cfc0fdccd2c1b8633d47;p=modules%2Fgui.git 0020735: EDF 1308 VISU: Gauss point picking not possible when a mesh representation is displayed --- diff --git a/src/SVTK/SVTK_InteractorStyle.cxx b/src/SVTK/SVTK_InteractorStyle.cxx index 4336965e0..e44901d19 100644 --- a/src/SVTK/SVTK_InteractorStyle.cxx +++ b/src/SVTK/SVTK_InteractorStyle.cxx @@ -1050,8 +1050,7 @@ void SVTK_InteractorStyle::onFinishOperation() { if( SALOME_Actor* anActor = SALOME_Actor::SafeDownCast( aVTKActor ) ) { - if( anActor->Highlight( this, aSelectionEvent, true ) && - anActor->isHighlighted() ) + if( anActor->Highlight( this, aSelectionEvent, true ) ) { aHighlightedActor = anActor; break;