From: vsr Date: Wed, 1 Dec 2010 15:04:39 +0000 (+0000) Subject: 0020870: EDF 1410 VISU: Anomaly in the Gauss point representation X-Git-Tag: RELIQUAT_5x_15112010 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=672da8300d9c88dff6a3b5beb0e97fc2baee9ba8;p=modules%2Fvisu.git 0020870: EDF 1410 VISU: Anomaly in the Gauss point representation Additional fix for animation --- 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(),