]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for the "0021463: [CEA 533] Hilighted object can not be selected" issue.
authorana <ana@opencascade.com>
Thu, 19 Jan 2012 14:16:08 +0000 (14:16 +0000)
committerana <ana@opencascade.com>
Thu, 19 Jan 2012 14:16:08 +0000 (14:16 +0000)
src/SVTK/SALOME_Actor.cxx

index 8405e524afd580f57b1d85df4f03eb9bfe03716a..70deae8df0a8a8cfed99956083b394ab10bedff2 100644 (file)
@@ -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();