From 9433f5211747f5ff5af5ad4ff4e24ee56a0b3e2e Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 8 Sep 2016 11:09:05 +0300 Subject: [PATCH] Set default deflection for Arc presentation(not result) --- src/SketchPlugin/SketchPlugin_Arc.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SketchPlugin/SketchPlugin_Arc.cpp b/src/SketchPlugin/SketchPlugin_Arc.cpp index 07c4d3ee5..4de512510 100644 --- a/src/SketchPlugin/SketchPlugin_Arc.cpp +++ b/src/SketchPlugin/SketchPlugin_Arc.cpp @@ -244,6 +244,9 @@ AISObjectPtr SketchPlugin_Arc::getAISObject(AISObjectPtr thePrevious) if (!anAIS) anAIS = AISObjectPtr(new GeomAPI_AISObject); anAIS->createShape(aCompound); + double aDeflection = Config_PropManager::real("Visualization", "construction_deflection", + ModelAPI_ResultConstruction::DEFAULT_DEFLECTION()); + anAIS->setDeflection(aDeflection); anAIS->setWidth(3); return anAIS; } -- 2.39.2