]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix incorrect orientation of external arc (issue #1687)
authorazv <azv@opencascade.com>
Tue, 30 Aug 2016 08:45:24 +0000 (11:45 +0300)
committerazv <azv@opencascade.com>
Tue, 30 Aug 2016 08:45:24 +0000 (11:45 +0300)
src/SketchPlugin/SketchPlugin_Arc.cpp

index ea436960b1768d685158732ad2d56c9804d6f973..5eeb4d93403dee302666a9b8c4acf56d640a5f9c 100644 (file)
@@ -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;