]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix of bug IPAL21159 - TC5.1.2: Information window's visibility state is not updated
authorouv <ouv@opencascade.com>
Fri, 5 Jun 2009 13:34:03 +0000 (13:34 +0000)
committerouv <ouv@opencascade.com>
Fri, 5 Jun 2009 13:34:03 +0000 (13:34 +0000)
src/OBJECT/VISU_Actor.cxx
src/OBJECT/VISU_GaussPtsAct.cxx

index 8a5ca9506adbd08391b74db8201bf4bebdb20f3e..905eaa4394732320dce5d2d7f11acb17802a5405 100644 (file)
@@ -548,6 +548,9 @@ VISU_Actor
 {
   Superclass::SetVisibility( theMode );
   myValLabels->SetVisibility( myIsValLabeled && theMode );
+
+  // Moved from VISU_GaussPtsAct::SetVisibility() (due to IPAL21159)
+  Highlight(isHighlighted());
 }
 //----------------------------------------------------------------------------
   //! Gets know whether the actor should be displayed or not
index 2fc5545668bdf9d854ab1a2e1b8570f8cd7a66f5..58272e97cd34d1b2031534cdedb1771e46fc1e73 100644 (file)
@@ -549,7 +549,6 @@ VISU_GaussPtsAct
   Superclass::SetVisibility(theMode);
   myDeviceActor->SetVisibility(GetVisibility()); // VSV
   myScalarBarCtrl->SetVisibility(theMode);
-  Highlight(isHighlighted());
 }
 
 int