From 4fe4d8118ac842ad869dbf805b4bc704bb5db98b Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 20 Nov 2007 15:43:40 +0000 Subject: [PATCH] To apply SetSourceRange() when the active scalar bar is changed --- src/VISU_I/VISU_GaussPoints_i.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index 48331e5d..72be5b9c 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -996,6 +996,10 @@ VISU::GaussPoints_i VISU::TSetModified aModified(this); myIsActiveLocalScalarBar = theIsActiveLocalScalarBar; + + if ( !theIsActiveLocalScalarBar || !IsRangeFixed() ) + SetSourceRange(); + myParamsTime.Modified(); } -- 2.39.2