From: apo Date: Wed, 7 Dec 2005 13:28:54 +0000 (+0000) Subject: Do not apply magnification on the outside representation X-Git-Tag: TG-D5-38-2003_D2005-20-12~49 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=814452fedfc348a1ddd3a151a46300c0b200d744;p=modules%2Fvisu.git Do not apply magnification on the outside representation --- diff --git a/src/OBJECT/VISU_GaussPtsAct.cxx b/src/OBJECT/VISU_GaussPtsAct.cxx index 6c2bcdc9..40506c1e 100644 --- a/src/OBJECT/VISU_GaussPtsAct.cxx +++ b/src/OBJECT/VISU_GaussPtsAct.cxx @@ -1142,12 +1142,14 @@ VISU_GaussPtsAct1 SALOME_ExtractGeometry* anExtractGeometry = aPipeline->GetExtractGeometryFilter(); vtkImplicitFunction* anImplicitFunction = anExtractGeometry->GetImplicitFunction(); + float aMagnification = aPipeline->GetMagnification(); aPipeline->ShallowCopy(GetGaussPointsPL()); aPipeline->SetImplicitFunction(anImplicitFunction); // To restore anExtractGeometry->SetExtractBoundaryCells(true); anExtractGeometry->SetExtractInside(true); + aPipeline->SetMagnification( aMagnification ); aPipeline->SetPrimitiveType( myOutsideCursorSettings->GetPrimitiveType() );