]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
INT PAL 0052857: Mesh Info highlights nodes of elements instead of elements
authorimn <imn@opencascade.com>
Mon, 7 Sep 2015 10:29:46 +0000 (13:29 +0300)
committerimn <imn@opencascade.com>
Mon, 7 Sep 2015 10:29:46 +0000 (13:29 +0300)
src/SVTK/SALOME_Actor.cxx

index b0741a5f20ee08992cc75744ac177b276c47a031..3f87a25658f0d33dfcf4132938477dcaa76a77c6 100644 (file)
@@ -468,6 +468,7 @@ SALOME_Actor
       }
       myHighlightActor->SetVisibility( GetVisibility() && theIsHighlight );
     }
+    myHighlightActor->SetMarkerEnabled( mySelectionMode == NodeSelection);
   }
 
   highlight(theIsHighlight);
@@ -672,8 +673,6 @@ SALOME_Actor
   if ( !theIsHighlight )
     return true;
 
-  myHighlightActor->SetMarkerEnabled( aSelectionMode == NodeSelection );
-
   double x = theSelectionEvent->myX;
   double y = theSelectionEvent->myY;