From ffab8c3914c0b116870f7c21d5487ab6425f47ec Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 20 Sep 2005 16:33:43 +0000 Subject: [PATCH] To port on SALOME CVS HEAD --- src/SVTK/SALOME_Actor.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 ); } -- 2.39.2