From: apo Date: Fri, 23 Sep 2005 07:41:29 +0000 (+0000) Subject: To fix a regression X-Git-Tag: BR-D5-38-2003_D2005-12-10~148 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e2f52038f486f15d243bad2732e38b96ec88018c;p=modules%2Fvisu.git To fix a regression --- 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()); } }