]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Correct deviation coefficient, it should not be restored because selection is also...
authornds <natalia.donis@opencascade.com>
Wed, 19 Aug 2015 14:12:00 +0000 (17:12 +0300)
committernds <natalia.donis@opencascade.com>
Wed, 19 Aug 2015 14:12:30 +0000 (17:12 +0300)
Bad performance, when creating an extrusion on 5 circles, or cut it from a extrusion based on a contour.

src/ModuleBase/ModuleBase_ResultPrs.cpp
src/PartSet/PartSet_OperationPrs.cpp

index b10bc92ee60eaa7ca2100ac95cea57d6ef1e235c..8ac112972949e118e9ac9dc38d585a24f7b510a8 100644 (file)
@@ -67,7 +67,7 @@ void ModuleBase_ResultPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& t
 
     // change deviation coefficient to provide more precise circle
     Handle(Prs3d_Drawer) aDrawer = Attributes();
-    aDrawer->SetDeviationCoefficient(ModuleBase_Tools::defaultDeviationCoefficient());
+    //aDrawer->SetDeviationCoefficient(ModuleBase_Tools::defaultDeviationCoefficient());
     AIS_Shape::Compute(thePresentationManager, thePresentation, theMode);
   }
 }
index c593f46eb2cc8ff8a466edb676ad0c93fd81c142..e775102d3f53c85be6eae7e988227ab86d98beab 100755 (executable)
@@ -88,7 +88,7 @@ void PartSet_OperationPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& t
         continue;
       TopoDS_Shape aShape = aGeomShape->impl<TopoDS_Shape>();
       // change deviation coefficient to provide more precise circle
-      aDrawer->SetDeviationCoefficient(ModuleBase_Tools::defaultDeviationCoefficient());
+      //aDrawer->SetDeviationCoefficient(ModuleBase_Tools::defaultDeviationCoefficient());
       StdPrs_WFDeflectionShape::Add(thePresentation, aShape, aDrawer);
     }
   }