From: apo Date: Thu, 10 May 2007 11:49:07 +0000 (+0000) Subject: Minor changes X-Git-Tag: T_EDF_15278~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=10c1969b47a5e3a60bede4ee20c35652f56249cb;p=modules%2Fvisu.git Minor changes --- diff --git a/src/PIPELINE/VISU_ScalarMapPL.cxx b/src/PIPELINE/VISU_ScalarMapPL.cxx index ddf4a6d3..36a0a62e 100644 --- a/src/PIPELINE/VISU_ScalarMapPL.cxx +++ b/src/PIPELINE/VISU_ScalarMapPL.cxx @@ -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);