From: apo Date: Tue, 20 Nov 2007 15:43:40 +0000 (+0000) Subject: To apply SetSourceRange() when the active scalar bar is changed X-Git-Tag: mergeto_BR_Dev_For_4_0_07-Dec-07~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4fe4d8118ac842ad869dbf805b4bc704bb5db98b;p=modules%2Fvisu.git To apply SetSourceRange() when the active scalar bar is changed --- 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(); }