From eecd4ceb29c75b306032dc36bb6a02a27be85b36 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 5 Jun 2009 15:33:47 +0000 Subject: [PATCH] Fix of bug IPAL21162 - TC5.1.2: Scalar bar is visible while its owner is invisible --- src/OBJECT/VISU_ScalarMapAct.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OBJECT/VISU_ScalarMapAct.cxx b/src/OBJECT/VISU_ScalarMapAct.cxx index e68b8375..013ab3d4 100644 --- a/src/OBJECT/VISU_ScalarMapAct.cxx +++ b/src/OBJECT/VISU_ScalarMapAct.cxx @@ -526,7 +526,7 @@ VISU_ScalarMapAct { myBarVisibility = theMode; if(myScalarBar) - myScalarBar->SetVisibility(myBarVisibility); + myScalarBar->SetVisibility(myBarVisibility && GetVisibility()); } -- 2.39.2