]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Merge from V5_1_main 10/12/2010 V6_2_0a2 mergefrom_V5_1_main_10Dec10
authorvsr <vsr@opencascade.com>
Mon, 13 Dec 2010 06:37:55 +0000 (06:37 +0000)
committervsr <vsr@opencascade.com>
Mon, 13 Dec 2010 06:37:55 +0000 (06:37 +0000)
src/VISUGUI/VisuGUI_TimeAnimation.cxx

index bfbcfc7ae00eebc1d4e3012cc3b639736c0c5147..0582735ad0d78d55a0be3b7f500d4ce60b190c19 100644 (file)
@@ -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(),