From: nds Date: Tue, 28 Mar 2017 07:18:43 +0000 (+0300) Subject: Issue #2024: Redesign of circle and arc of circle X-Git-Tag: V_2.7.0~169 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8951f041a2cc5f24812154ed99b17f0221b82002;p=modules%2Fshaper.git Issue #2024: Redesign of circle and arc of circle Deflection for Presentations if result has not been created yet(Macro Circle, Fillet) --- diff --git a/src/SketchPlugin/SketchPlugin_SketchEntity.h b/src/SketchPlugin/SketchPlugin_SketchEntity.h index d9f2cec43..cbbfcdf55 100644 --- a/src/SketchPlugin/SketchPlugin_SketchEntity.h +++ b/src/SketchPlugin/SketchPlugin_SketchEntity.h @@ -167,6 +167,11 @@ class SketchPlugin_SketchEntity : public SketchPlugin_Feature, public GeomAPI_IC double aWidth = thePrs->width(); isCustomized = thePrs->setWidth(aWidth / 2.5) || isCustomized; } + + if (!theResult.get()) { + double aDeflection = Config_PropManager::real("Visualization", "construction_deflection"); + thePrs->setDeflection(aDeflection); + } return isCustomized; }