From: apo Date: Tue, 20 Sep 2005 16:33:43 +0000 (+0000) Subject: To port on SALOME CVS HEAD X-Git-Tag: BR-D5-38-2003_D2005-12-10~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ffab8c3914c0b116870f7c21d5487ab6425f47ec;p=modules%2Fgui.git To port on SALOME CVS HEAD --- diff --git a/src/SVTK/SALOME_Actor.cxx b/src/SVTK/SALOME_Actor.cxx index dc282cbc5..d06d6e9c8 100644 --- a/src/SVTK/SALOME_Actor.cxx +++ b/src/SVTK/SALOME_Actor.cxx @@ -72,8 +72,8 @@ using namespace std; #endif #endif -int SALOME_POINT_SIZE = 3; -int SALOME_LINE_WIDTH = 2; +int SALOME_POINT_SIZE = 5; +int SALOME_LINE_WIDTH = 3; //---------------------------------------------------------------------------- namespace @@ -704,7 +704,7 @@ SALOME_Actor ::highlight(bool theHighlight, Selection_Mode theSelectionMode) { - if(hasHighlight()) + if(hasHighlight() && theSelectionMode == ActorSelection) highlight(theHighlight); else{ myIsHighlighted = theHighlight; @@ -728,8 +728,8 @@ SALOME_Actor Superclass::SetVisibility( theVisibility ); myOutlineActor->SetVisibility( theVisibility && isHighlighted() && !hasHighlight() ); - myHighlightActor->SetVisibility( theVisibility && isHighlighted() && !hasHighlight() ); - myPreHighlightActor->SetVisibility( theVisibility && myIsPreselected && !hasHighlight() ); + myHighlightActor->SetVisibility( theVisibility && isHighlighted() ); + myPreHighlightActor->SetVisibility( theVisibility && myIsPreselected ); }