]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Do not apply magnification on the outside representation
authorapo <apo@opencascade.com>
Wed, 7 Dec 2005 13:28:54 +0000 (13:28 +0000)
committerapo <apo@opencascade.com>
Wed, 7 Dec 2005 13:28:54 +0000 (13:28 +0000)
src/OBJECT/VISU_GaussPtsAct.cxx

index 6c2bcdc9e7c5abbd855d7651af6a268a80afed10..40506c1e92269853de5d013a04ef24138db82522 100644 (file)
@@ -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() );