From: ana Date: Thu, 19 Jan 2012 14:16:08 +0000 (+0000) Subject: Fix for the "0021463: [CEA 533] Hilighted object can not be selected" issue. X-Git-Tag: pxsxl1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c8c5ba93f92e97e1916004833489a1206c03459a;p=modules%2Fgui.git Fix for the "0021463: [CEA 533] Hilighted object can not be selected" issue. --- diff --git a/src/SVTK/SALOME_Actor.cxx b/src/SVTK/SALOME_Actor.cxx index 8405e524a..70deae8df 100644 --- a/src/SVTK/SALOME_Actor.cxx +++ b/src/SVTK/SALOME_Actor.cxx @@ -484,7 +484,8 @@ SALOME_Actor // myPreHighlightActor->SetVisibility( false ); bool anIsPreselected = myIsPreselected; - + SetPreSelected( false ); + Selection_Mode aSelectionMode = theSelectionEvent->mySelectionMode; bool anIsChanged = (mySelectionMode != aSelectionMode); @@ -495,7 +496,6 @@ SALOME_Actor vtkFloatingPointType z = 0.0; if( !theIsHighlight ) { - SetPreSelected( false ); if ( hasIO() ) { VTK::ActorCollectionCopy aCopy(aRenderer->GetActors()); vtkActorCollection* theActors = aCopy.GetActors();