]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor change
authorouv <ouv@opencascade.com>
Wed, 14 May 2008 11:56:40 +0000 (11:56 +0000)
committerouv <ouv@opencascade.com>
Wed, 14 May 2008 11:56:40 +0000 (11:56 +0000)
src/VISUGUI/VisuGUI_Prs3dDlg.cxx

index 681cc9e54cf835e42d1a9b3e97c90d2b9c0a7990..fcabb88a1d556ebef3663040f94a3fe00d601230 100644 (file)
@@ -1157,7 +1157,7 @@ void VisuGUI_ScalarBarPane::createScalarBar()
     theRange[0] = (vtkFloatingPointType)MinEdit->text().toDouble();
     theRange[1] = (vtkFloatingPointType)MaxEdit->text().toDouble();
   }
-  myScalarMapPL->SetScalarRange(theRange);
+  myScalarMapPL->SetScalarRange(theRange, false);
   myScalarMapPL->SetNbColors(sbCol);
   
   myScalarMapPL->Update();