From 2eb0eb1af9fbf7d49e61110726facdb3cb494c73 Mon Sep 17 00:00:00 2001 From: mkr Date: Thu, 13 Nov 2008 14:09:55 +0000 Subject: [PATCH] Fix for IPAL18716 : 4x regression in Scalar range. --- src/VISUGUI/VisuGUI_Prs3dDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VISUGUI/VisuGUI_Prs3dDlg.cxx b/src/VISUGUI/VisuGUI_Prs3dDlg.cxx index 6f665d94..08927072 100644 --- a/src/VISUGUI/VisuGUI_Prs3dDlg.cxx +++ b/src/VISUGUI/VisuGUI_Prs3dDlg.cxx @@ -981,7 +981,7 @@ void VisuGUI_ScalarBarPane::initFromPrsObject(VISU::ColoredPrs3d_i* thePrs) myModeLbl->setEnabled(isScalarMode); myModeCombo->setEnabled(isScalarMode); - setRange( myScalarMap->GetSourceMin(), myScalarMap->GetSourceMax(), myScalarMap->IsRangeFixed() ); + setRange( myScalarMap->GetMin(), myScalarMap->GetMax(), myScalarMap->IsRangeFixed() ); setScalarBarData( myScalarMap->GetNbColors(), myScalarMap->GetLabels() ); -- 2.39.2