From: apo Date: Wed, 12 Sep 2007 14:52:32 +0000 (+0000) Subject: Fix for Bug NPAL16764 - EDF 553 VISU : X-Git-Tag: T_24092007~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ad5f89f8e38fa9374c69a359f5f7c146d4ef8e44;p=modules%2Fvisu.git Fix for Bug NPAL16764 - EDF 553 VISU : In Animation Bad range by default in Scalarmap --- diff --git a/src/VISU_I/VISU_ScalarMap_i.cc b/src/VISU_I/VISU_ScalarMap_i.cc index a0e3f460..eadbd8b0 100644 --- a/src/VISU_I/VISU_ScalarMap_i.cc +++ b/src/VISU_I/VISU_ScalarMap_i.cc @@ -165,7 +165,8 @@ VISU::ScalarMap_i float aMin = aResourceMgr->doubleValue("VISU", "scalar_range_min", 0); float aMax = aResourceMgr->doubleValue("VISU", "scalar_range_max", 0); SetRange(aMin,aMax); - } + }else + SetSourceRange(); bool isLog = aResourceMgr->booleanValue("VISU", "scalar_bar_logarithmic", false);