]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_ResultPrs.cpp
Salome HOME
Add tools
[modules/shaper.git] / src / ModuleBase / ModuleBase_ResultPrs.cpp
old mode 100644 (file)
new mode 100755 (executable)
index 69ef0e7..73a492d
@@ -66,13 +66,8 @@ void ModuleBase_ResultPrs::Compute(const Handle(PrsMgr_PresentationManager3d)& t
     Set(myOriginalShape);
 
     // change deviation coefficient to provide more precise circle
-    Handle(Prs3d_Drawer) aDrawer = Attributes();
-    Standard_Real aPrevDeviation = aDrawer->DeviationCoefficient();
-    //aDrawer->SetDeviationCoefficient(ModuleBase_Tools::defaultDeviationCoefficient());
-
+    ModuleBase_Tools::setDefaultDeviationCoefficient(myOriginalShape, Attributes());
     AIS_Shape::Compute(thePresentationManager, thePresentation, theMode);
-
-    //aDrawer->SetDeviationCoefficient(aPrevDeviation);
   }
 }