From 93f6a3b031beef949fd82f0601b42d724f856466 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 1 Aug 2007 09:39:13 +0000 Subject: [PATCH] Fix a regression for ScalaBar --- src/PIPELINE/VISU_ColoredPL.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PIPELINE/VISU_ColoredPL.cxx b/src/PIPELINE/VISU_ColoredPL.cxx index 13c1de4b..49600e84 100644 --- a/src/PIPELINE/VISU_ColoredPL.cxx +++ b/src/PIPELINE/VISU_ColoredPL.cxx @@ -254,11 +254,11 @@ VISU_ColoredPL if(myBarTable->GetScale() == VTK_SCALE_LOG10) VISU_LookupTable::ComputeLogRange(aRange, aScalarRange); - if(!VISU::CheckIsSameRange(myMapperTable->GetRange(), aScalarRange)){ + if(!VISU::CheckIsSameRange(myMapperTable->GetRange(), aScalarRange)) myMapperTable->SetRange(aScalarRange); - myMapperTable->Build(); - myBarTable->Build(); - } + + myMapperTable->Build(); + myBarTable->Build(); Superclass::Update(); } -- 2.39.2