From 672da8300d9c88dff6a3b5beb0e97fc2baee9ba8 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 1 Dec 2010 15:04:39 +0000 Subject: [PATCH] 0020870: EDF 1410 VISU: Anomaly in the Gauss point representation Additional fix for animation --- src/VISUGUI/VisuGUI_TimeAnimation.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/VISUGUI/VisuGUI_TimeAnimation.cxx b/src/VISUGUI/VisuGUI_TimeAnimation.cxx index bfbcfc7a..0582735a 100644 --- a/src/VISUGUI/VisuGUI_TimeAnimation.cxx +++ b/src/VISUGUI/VisuGUI_TimeAnimation.cxx @@ -130,7 +130,16 @@ namespace { if(aDeformedAndScalPrs){ aTimeStampNum = aDeformedAndScalPrs->GetScalarTimeStampNumber(); } + aColoredPrs3d->SameAs(aInitialPrs3d); + + // rnv: fix for the 20870: EDF 1410 VISU: Anomaly in the Gauss point representation. + // special case for the "Gauss Points" presentation, + // update the LookupTable in the mapper, after assign properties of the presentation + // using SameAs(...) method. + if(aFieldData.myPrsType == VISU::TGAUSSPOINTS) { + aColoredPrs3d->UpdateMapperLookupTable(); + } if(aDeformedAndScalPrs){ aDeformedAndScalPrs->SetScalarField(aDeformedAndScalPrs->GetScalarEntity(), -- 2.39.2