From: ouv Date: Wed, 21 Sep 2005 07:10:58 +0000 (+0000) Subject: ShallowCopy() method updated X-Git-Tag: BR-D5-38-2003_D2005-12-10~173 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9c54963689d51814eb7460844c377ef5d3c999de;p=modules%2Fvisu.git ShallowCopy() method updated --- diff --git a/src/PIPELINE/VISU_GaussPointsPL.cxx b/src/PIPELINE/VISU_GaussPointsPL.cxx index c666087f..ba8676c5 100644 --- a/src/PIPELINE/VISU_GaussPointsPL.cxx +++ b/src/PIPELINE/VISU_GaussPointsPL.cxx @@ -59,7 +59,7 @@ VISU_GaussPointsPL ::ShallowCopy(VISU_PipeLine *thePipeLine) { SetIDMapper(thePipeLine->GetIDMapper()); - myMapper->ShallowCopy(thePipeLine->GetMapper()); + GetMapper()->ShallowCopy(thePipeLine->GetMapper()); Build(); if(VISU_GaussPointsPL *aPipeLine = dynamic_cast(thePipeLine)){ @@ -69,8 +69,12 @@ VISU_GaussPointsPL SetScaling(aPipeLine->GetScaling()); SetGaussMesh(aPipeLine->GetGaussMesh()); + SetClamp(aPipeLine->GetClamp()); + SetRelativeSize(aPipeLine->GetRelativeSize()); SetRelativeMinSize(aPipeLine->GetRelativeMinSize()); SetRelativeMaxSize(aPipeLine->GetRelativeMaxSize()); + SetMagnification(aPipeLine->GetMagnification()); + SetMagnificationIncrement(aPipeLine->GetMagnificationIncrement()); Init(); } } diff --git a/src/PIPELINE/VISU_PipeLine.cxx b/src/PIPELINE/VISU_PipeLine.cxx index 9d69ba08..57f11890 100644 --- a/src/PIPELINE/VISU_PipeLine.cxx +++ b/src/PIPELINE/VISU_PipeLine.cxx @@ -88,7 +88,7 @@ VISU_PipeLine ::ShallowCopy(VISU_PipeLine *thePipeLine) { SetIDMapper(thePipeLine->GetIDMapper()); - myMapper->ShallowCopy(thePipeLine->GetMapper()); + GetMapper()->ShallowCopy(thePipeLine->GetMapper()); SetImplicitFunction(thePipeLine->GetImplicitFunction()); Build(); }