From 814452fedfc348a1ddd3a151a46300c0b200d744 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 7 Dec 2005 13:28:54 +0000 Subject: [PATCH] Do not apply magnification on the outside representation --- src/OBJECT/VISU_GaussPtsAct.cxx | 2 ++ 1 file changed, 2 insertions(+) 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() ); -- 2.39.2