]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
NPAL18277: EDF629: pb. with change of field in Scalar Map on Deformed shape setup. V3_2_9 V3_2_9rc3
authorjfa <jfa@opencascade.com>
Wed, 12 Dec 2007 12:57:30 +0000 (12:57 +0000)
committerjfa <jfa@opencascade.com>
Wed, 12 Dec 2007 12:57:30 +0000 (12:57 +0000)
src/VISUGUI/VisuGUI_ScalarMapOnDeformedShapeDlg.cxx

index 865ece3019b6fee815f58782337aef2bf50397e1..91811a509c348bd761f017c1dbf5b25d709ab896 100644 (file)
@@ -367,6 +367,11 @@ void VisuGUI_ScalarMapOnDeformedShapeDlg::SetScalarField(int theIter,QString the
 
   VISU::TEntity anEntity = getCurrentScalarEntity();
 
+  if( save_scalar_pane )
+  {
+    myScalarPane->storeToPrsObject(myPrs);
+  }
+
   myPrs->SetScalarField(myCurrMeshName.latin1(),
                        aFieldName.latin1(),
                        theIter,
@@ -374,7 +379,6 @@ void VisuGUI_ScalarMapOnDeformedShapeDlg::SetScalarField(int theIter,QString the
 
   if( save_scalar_pane )
   {
-    myScalarPane->storeToPrsObject(myPrs);
     UpdateScalarField();
   }
 }