]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for EDF 553 VISU : V4_1_0a1
authorapo <apo@opencascade.com>
Fri, 28 Sep 2007 05:04:36 +0000 (05:04 +0000)
committerapo <apo@opencascade.com>
Fri, 28 Sep 2007 05:04:36 +0000 (05:04 +0000)
In Animation Bad range by default in Scalarmap
(case for ScalarMapOnDeformedShape presentation type)

src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc

index 000807286f0f322b88b82ac339340ddc30d61f6d..365d28e16d278c02ee56b93c28fc06e3cd284e3c 100644 (file)
@@ -361,8 +361,7 @@ VISU::ScalarMapOnDeformedShape_i
 
   SetTitle(theFieldName);
   if(!IsRangeFixed() && IsPipeLineExists())
-    ProcessVoidEvent(new TVoidMemFunEvent<VISU_ColoredPL>
-                    (GetSpecificPL(), &VISU_ColoredPL::SetSourceRange));
+    SetSourceRange();
 
   myParamsTime.Modified();
 }