From: mkr Date: Thu, 13 Nov 2008 14:09:55 +0000 (+0000) Subject: Fix for IPAL18716 : 4x regression in Scalar range. X-Git-Tag: V4_1_0_maintainance_20081117 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2eb0eb1af9fbf7d49e61110726facdb3cb494c73;p=modules%2Fvisu.git Fix for IPAL18716 : 4x regression in Scalar range. --- 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() );