]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor changes
authorapo <apo@opencascade.com>
Wed, 26 Oct 2005 16:46:18 +0000 (16:46 +0000)
committerapo <apo@opencascade.com>
Wed, 26 Oct 2005 16:46:18 +0000 (16:46 +0000)
src/OBJECT/VISU_GaussPtsAct.cxx

index 61be970fbe3c85dcd7ddfd571a8e4760e2012617..b17b622caba41f31c24b90dc74326a8bfdecc68a 100644 (file)
@@ -364,6 +364,7 @@ VISU_GaussPtsAct
 {
   Superclass::SetVisibility(theMode);
   myScalarBarCtrl->SetVisibility(theMode);
+  Highlight(isHighlighted());
 }
 
 //----------------------------------------------------------------------------
@@ -625,6 +626,7 @@ void
 VISU_GaussPtsAct
 ::Highlight(bool theIsHighlight)
 {
+  myOutlineActor->SetVisibility(false);
   myTextActor->SetVisibility(0);
   myCursorPyramidSelected->SetVisibility(0);
   myCursorPyramid->SetVisibility(0);
@@ -722,8 +724,6 @@ VISU_GaussPtsAct
       myCellActor->SetVisibility(anIsVisible && theIsHighlight);
     }
   }
-  myOutline->SetBounds( GetInput()->GetBounds() );
-  myOutlineActor->SetVisibility( anIsVisible && theIsHighlight );
 }