From ad5f89f8e38fa9374c69a359f5f7c146d4ef8e44 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 12 Sep 2007 14:52:32 +0000 Subject: [PATCH] Fix for Bug NPAL16764 - EDF 553 VISU : In Animation Bad range by default in Scalarmap --- src/VISU_I/VISU_ScalarMap_i.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.2