From 3aef5ae85bfb82b687ecf0d7cdb04b5308c340f9 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 12 Dec 2007 12:57:30 +0000 Subject: [PATCH] NPAL18277: EDF629: pb. with change of field in Scalar Map on Deformed shape setup. --- src/VISUGUI/VisuGUI_ScalarMapOnDeformedShapeDlg.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); } } -- 2.39.2