From: apo Date: Tue, 23 Sep 2008 14:09:02 +0000 (+0000) Subject: Roll back definition of SetScalarRange virtual function X-Git-Tag: TG_VISU_2008_Development_Finished~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=16caaeb9c7f8a5169f8c88b553b6787abd128e0b;p=modules%2Fvisu.git Roll back definition of SetScalarRange virtual function --- 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*