From f6df6d763d24f2f8be4d967008eed32546ce6c19 Mon Sep 17 00:00:00 2001 From: akl Date: Mon, 12 Jan 2009 13:01:46 +0000 Subject: [PATCH] 1) Fix of 20107 issue (EDF 890 VISU : In some cases, Saclarbar and Deformed Shape does not store the component used as scalar). 2) Correct fix of 20094 issue (EDF 895 VISU : ScalarMaponDeformedShape, problems with title). --- src/VISU_I/VISU_DeformedShapeAndScalarMap_i.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/VISU_I/VISU_DeformedShapeAndScalarMap_i.cc b/src/VISU_I/VISU_DeformedShapeAndScalarMap_i.cc index 669798d5..945ccd44 100644 --- a/src/VISU_I/VISU_DeformedShapeAndScalarMap_i.cc +++ b/src/VISU_I/VISU_DeformedShapeAndScalarMap_i.cc @@ -223,6 +223,10 @@ VISU::DeformedShapeAndScalarMap_i SetScalarField(anOrigin->GetScalarEntity(), aFieldName, anOrigin->GetScalarTimeStampNumber()); + SetTitle(anOrigin->GetTitle()); //fix of 20094 issue + SetScalarMode(anOrigin->GetScalarMode()); // + if(!IsRangeFixed() && IsPipeLineExists()) //fix of 20107 issue + SetSourceRange(); // Update(); } } @@ -361,7 +365,7 @@ VISU::DeformedShapeAndScalarMap_i myScalarFieldName = theFieldName; myScalarTimeStampNumber = theTimeStampNumber; - /*SetTitle(theFieldName);*/ //fix of 20094 issue + SetTitle(theFieldName); SetScalarMode(GetScalarMode()); if(!IsRangeFixed() && IsPipeLineExists()) SetSourceRange(); -- 2.39.2