]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor changes
authorapo <apo@opencascade.com>
Thu, 10 May 2007 11:49:07 +0000 (11:49 +0000)
committerapo <apo@opencascade.com>
Thu, 10 May 2007 11:49:07 +0000 (11:49 +0000)
src/PIPELINE/VISU_ScalarMapPL.cxx

index ddf4a6d35519d795119fb0cdeda6b7979d4a8a9e..36a0a62ebdfffc5bd4b2fcf7ff9361859b54e1d5 100644 (file)
@@ -235,7 +235,7 @@ void
 VISU_ScalarMapPL
 ::Update() 
 { 
-  vtkFloatingPointType *aRange = myFieldTransform->GetScalarRange();
+  vtkFloatingPointType *aRange = GetScalarRange();
   vtkFloatingPointType aScalarRange[2] = {aRange[0], aRange[1]};
   if(myBarTable->GetScale() == VTK_SCALE_LOG10)
     VISU_LookupTable::ComputeLogRange(aRange,aScalarRange);