]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Regression on ScalarMapOnDeformedShape on Nodes
authorapo <apo@opencascade.com>
Thu, 10 May 2007 07:02:21 +0000 (07:02 +0000)
committerapo <apo@opencascade.com>
Thu, 10 May 2007 07:02:21 +0000 (07:02 +0000)
(bound to [Bug NPAL15278] EDF 347 : ScalarMaponDeformedShape)

src/PIPELINE/VISU_ScalarMapOnDeformedShapePL.cxx

index 9ca1f7b69872a91bc92dcbaa3e30b182e952730f..c8a3948597e925da430a2bdd46cbd590d4a55d54 100644 (file)
@@ -265,8 +265,7 @@ int
 VISU_ScalarMapOnDeformedShapePL
 ::GetScalarMode()
 {
-  int aMode=myExtractorScalars->GetScalarMode();
-  return aMode;
+  return myExtractorScalars->GetScalarMode();
 }
 
 /*!
@@ -276,8 +275,8 @@ void
 VISU_ScalarMapOnDeformedShapePL
 ::SetScalarMode(int theScalarMode)
 {
+  Superclass::SetScalarMode(theScalarMode);
   myExtractorScalars->SetScalarMode(theScalarMode);
-  Modified();
 }
 
 /*!