From: azv Date: Tue, 30 Aug 2016 08:45:24 +0000 (+0300) Subject: Fix incorrect orientation of external arc (issue #1687) X-Git-Tag: V_2.5.0~110 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9db0c653156a62882390f68663a98a79025f7926;p=modules%2Fshaper.git Fix incorrect orientation of external arc (issue #1687) --- diff --git a/src/SketchPlugin/SketchPlugin_Arc.cpp b/src/SketchPlugin/SketchPlugin_Arc.cpp index ea436960b..5eeb4d934 100644 --- a/src/SketchPlugin/SketchPlugin_Arc.cpp +++ b/src/SketchPlugin/SketchPlugin_Arc.cpp @@ -365,6 +365,8 @@ void SketchPlugin_Arc::attributeChanged(const std::string& theID) double aStartAngle, aEndAngle; anEdge->getRange(aStartAngle, aEndAngle); data()->real(ANGLE_ID())->setValue(aEndAngle - aStartAngle); + myParamBefore = aEndAngle; + adjustPeriod(myParamBefore); } } return;