]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To apply SetSourceRange() when the active scalar bar is changed
authorapo <apo@opencascade.com>
Tue, 20 Nov 2007 15:43:40 +0000 (15:43 +0000)
committerapo <apo@opencascade.com>
Tue, 20 Nov 2007 15:43:40 +0000 (15:43 +0000)
src/VISU_I/VISU_GaussPoints_i.cc

index 48331e5dacff4ff9ee2d02905aae97bb985a4ed8..72be5b9c20b1057a0b5e0eee9590f06e071f8841 100644 (file)
@@ -996,6 +996,10 @@ VISU::GaussPoints_i
   VISU::TSetModified aModified(this);
   
   myIsActiveLocalScalarBar = theIsActiveLocalScalarBar;
+
+  if ( !theIsActiveLocalScalarBar || !IsRangeFixed() )
+    SetSourceRange();
+
   myParamsTime.Modified();
 }