From: jfa Date: Wed, 12 Dec 2007 12:57:30 +0000 (+0000) Subject: NPAL18277: EDF629: pb. with change of field in Scalar Map on Deformed shape setup. X-Git-Tag: V3_2_9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3aef5ae85bfb82b687ecf0d7cdb04b5308c340f9;p=modules%2Fvisu.git NPAL18277: EDF629: pb. with change of field in Scalar Map on Deformed shape setup. --- diff --git a/src/VISUGUI/VisuGUI_ScalarMapOnDeformedShapeDlg.cxx b/src/VISUGUI/VisuGUI_ScalarMapOnDeformedShapeDlg.cxx index 865ece30..91811a50 100644 --- a/src/VISUGUI/VisuGUI_ScalarMapOnDeformedShapeDlg.cxx +++ b/src/VISUGUI/VisuGUI_ScalarMapOnDeformedShapeDlg.cxx @@ -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(); } }