From: imn Date: Mon, 7 Sep 2015 10:29:46 +0000 (+0300) Subject: INT PAL 0052857: Mesh Info highlights nodes of elements instead of elements X-Git-Tag: V7_7_0a1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb67cad8cd22a5555a9b786dcdab03334a27a14e;p=modules%2Fgui.git INT PAL 0052857: Mesh Info highlights nodes of elements instead of elements --- diff --git a/src/SVTK/SALOME_Actor.cxx b/src/SVTK/SALOME_Actor.cxx index b0741a5f2..3f87a2565 100644 --- a/src/SVTK/SALOME_Actor.cxx +++ b/src/SVTK/SALOME_Actor.cxx @@ -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;