]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Roll back definition of SetScalarRange virtual function
authorapo <apo@opencascade.com>
Tue, 23 Sep 2008 14:09:02 +0000 (14:09 +0000)
committerapo <apo@opencascade.com>
Tue, 23 Sep 2008 14:09:02 +0000 (14:09 +0000)
src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.cxx
src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.hxx

index 007820b835d0630afe22e5dd0125b6d490110891..3dd9af37db3dfadb131fab4968d925a2770b43c1 100644 (file)
@@ -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 );
 }
 
 
index 3d2435bacf8aa2b7c2b59f22c8a521fddbc1ab9d..6463b9f2a79c5ebea94ad040debce35a5117aa2d 100644 (file)
@@ -69,7 +69,7 @@ public:
   
   virtual
   void
-  SetScalarRange(vtkFloatingPointType theRange[2], const bool isFiltered);
+  SetScalarRange( vtkFloatingPointType theRange[2] );
 
   virtual
   vtkFloatingPointType*