]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for IPAL18716 : 4x regression in Scalar range. V4_1_0_maintainance_20081117
authormkr <mkr@opencascade.com>
Thu, 13 Nov 2008 14:09:55 +0000 (14:09 +0000)
committermkr <mkr@opencascade.com>
Thu, 13 Nov 2008 14:09:55 +0000 (14:09 +0000)
src/VISUGUI/VisuGUI_Prs3dDlg.cxx

index 6f665d944fbb2550548461ed8c6dbf2a7f51aa67..0892707275baf8b001495f9ca857274abb192f05 100644 (file)
@@ -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() );