From 16caaeb9c7f8a5169f8c88b553b6787abd128e0b Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 23 Sep 2008 14:09:02 +0000 Subject: [PATCH] Roll back definition of SetScalarRange virtual function --- src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.cxx | 8 ++++---- src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.hxx | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.cxx b/src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.cxx index 007820b8..3dd9af37 100644 --- a/src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.cxx +++ b/src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.cxx @@ -335,13 +335,13 @@ VISU_ScalarMapOnDeformedShapePL //---------------------------------------------------------------------------- void VISU_ScalarMapOnDeformedShapePL -::SetScalarRange(vtkFloatingPointType theRange[2], const bool isFiltered) +::SetScalarRange( vtkFloatingPointType theRange[2] ) { - if(VISU::CheckIsSameRange(theRange, GetScalarRange())) + if ( VISU::CheckIsSameRange( theRange, GetScalarRange() ) ) return; - myScalarsFieldTransform->SetScalarRange(theRange); - GetBarTable()->SetRange(theRange); + myScalarsFieldTransform->SetScalarRange( theRange ); + GetBarTable()->SetRange( theRange ); } diff --git a/src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.hxx b/src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.hxx index 3d2435ba..6463b9f2 100644 --- a/src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.hxx +++ b/src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.hxx @@ -69,7 +69,7 @@ public: virtual void - SetScalarRange(vtkFloatingPointType theRange[2], const bool isFiltered); + SetScalarRange( vtkFloatingPointType theRange[2] ); virtual vtkFloatingPointType* -- 2.39.2