From 9db0c653156a62882390f68663a98a79025f7926 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 30 Aug 2016 11:45:24 +0300 Subject: [PATCH] Fix incorrect orientation of external arc (issue #1687) --- src/SketchPlugin/SketchPlugin_Arc.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2