From e2f52038f486f15d243bad2732e38b96ec88018c Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 23 Sep 2005 07:41:29 +0000 Subject: [PATCH] To fix a regression --- src/VISU_I/VISU_GaussPoints_i.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index c15f49d6..c2b34a82 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -275,7 +275,7 @@ void VISU::GaussPoints_i ::UpdateActor(VISU_Actor* theActor) { - if(VISU_ScalarMapAct* anActor = dynamic_cast(theActor)){ + if(VISU_GaussPtsAct* anActor = dynamic_cast(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()); } } -- 2.39.2