From: ouv Date: Fri, 5 Jun 2009 13:34:03 +0000 (+0000) Subject: Fix of bug IPAL21159 - TC5.1.2: Information window's visibility state is not updated X-Git-Tag: V5_1_2rc2~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f8f1a65a5ec9b96a037e283daee01a13dfd28902;p=modules%2Fvisu.git Fix of bug IPAL21159 - TC5.1.2: Information window's visibility state is not updated --- diff --git a/src/OBJECT/VISU_Actor.cxx b/src/OBJECT/VISU_Actor.cxx index 8a5ca950..905eaa43 100644 --- a/src/OBJECT/VISU_Actor.cxx +++ b/src/OBJECT/VISU_Actor.cxx @@ -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 diff --git a/src/OBJECT/VISU_GaussPtsAct.cxx b/src/OBJECT/VISU_GaussPtsAct.cxx index 2fc55456..58272e97 100644 --- a/src/OBJECT/VISU_GaussPtsAct.cxx +++ b/src/OBJECT/VISU_GaussPtsAct.cxx @@ -549,7 +549,6 @@ VISU_GaussPtsAct Superclass::SetVisibility(theMode); myDeviceActor->SetVisibility(GetVisibility()); // VSV myScalarBarCtrl->SetVisibility(theMode); - Highlight(isHighlighted()); } int