]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To fix a regression
authorapo <apo@opencascade.com>
Fri, 23 Sep 2005 07:41:29 +0000 (07:41 +0000)
committerapo <apo@opencascade.com>
Fri, 23 Sep 2005 07:41:29 +0000 (07:41 +0000)
src/VISU_I/VISU_GaussPoints_i.cc

index c15f49d6d568bd4b6fa9f3d01a4cc5f3a3f05529..c2b34a82051cb01b5c4f98d20d128cef3c8a97e6 100644 (file)
@@ -275,7 +275,7 @@ void
 VISU::GaussPoints_i
 ::UpdateActor(VISU_Actor* theActor) 
 {
-  if(VISU_ScalarMapAct* anActor = dynamic_cast<VISU_ScalarMapAct*>(theActor)){
+  if(VISU_GaussPtsAct* anActor = dynamic_cast<VISU_GaussPtsAct*>(theActor)){
     if(IsColored()){
       anActor->SetBarVisibility(true);
       myPipeLine->GetMapper()->SetScalarVisibility(1);
@@ -288,7 +288,7 @@ VISU::GaussPoints_i
                                       myColor.blue() / 255.0);
     }
     VISU::ScalarMap_i::UpdateActor(theActor);
-    theActor->GetPipeLine()->ShallowCopy(myPipeLine);
+    anActor->GetPSMapper()->ShallowCopy(myGaussPointsPL->GetPSMapper());
   }
 }