From: apo Date: Fri, 1 Dec 2006 13:44:14 +0000 (+0000) Subject: Implementation SameAs for Gauss Points presentation X-Git-Tag: WP1_2_3_05-12-2006_cache_system~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=55aecc7b519e44e36244c3013c43507c7351afcf;p=modules%2Fvisu.git Implementation SameAs for Gauss Points presentation --- diff --git a/src/VISU_I/VISU_GaussPoints_i.cc b/src/VISU_I/VISU_GaussPoints_i.cc index 9267e0ab..24d3faee 100644 --- a/src/VISU_I/VISU_GaussPoints_i.cc +++ b/src/VISU_I/VISU_GaussPoints_i.cc @@ -224,24 +224,36 @@ VISU::GaussPoints_i if(const GaussPoints_i* aPrs3d = dynamic_cast(theOrigin)){ GaussPoints_i* anOrigin = const_cast(aPrs3d); + // To restore the range after shallow copy of the pipeline mapper + // in the parent class + SetSourceRange(); + SetIsActiveLocalScalarBar(anOrigin->GetIsActiveLocalScalarBar()); SetIsDispGlobalScalarBar(anOrigin->GetIsDispGlobalScalarBar()); + SetBiColor(anOrigin->GetBiColor()); + SetSpacing(anOrigin->GetSpacing()); + SetPrimitiveType(anOrigin->GetPrimitiveType()); SetClamp(anOrigin->GetClamp()); SetMinSize(anOrigin->GetMinSize()); SetMaxSize(anOrigin->GetMaxSize()); SetGeomSize(anOrigin->GetGeomSize()); + SetMagnification(anOrigin->GetMagnification()); SetMagnificationIncrement(anOrigin->GetMagnificationIncrement()); + SetIsDeformed(anOrigin->GetIsDeformed()); SetScaleFactor(anOrigin->GetScaleFactor()); + SetFaceLimit(anOrigin->GetFaceLimit()); - SetIsColored(anOrigin->GetIsColored()); + SetIsColored(anOrigin->GetIsColored()); SetColor(anOrigin->GetColor()); + SetAlphaThreshold(anOrigin->GetAlphaThreshold()); SetTextures(anOrigin->GetMainTexture(), anOrigin->GetAlphaTexture()); + SetResolution(anOrigin->GetResolution()); } }