From f8f1a65a5ec9b96a037e283daee01a13dfd28902 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 5 Jun 2009 13:34:03 +0000 Subject: [PATCH] Fix of bug IPAL21159 - TC5.1.2: Information window's visibility state is not updated --- src/OBJECT/VISU_Actor.cxx | 3 +++ src/OBJECT/VISU_GaussPtsAct.cxx | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2