From: vsr Date: Mon, 13 Dec 2010 06:37:55 +0000 (+0000) Subject: Merge from V5_1_main 10/12/2010 X-Git-Tag: V6_2_0a2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=74501dfcb6152d08051013b95980669cd6c294af;p=modules%2Fvisu.git Merge from V5_1_main 10/12/2010 --- 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(),