From: azv Date: Tue, 6 Sep 2016 04:10:02 +0000 (+0300) Subject: Arc orientation when loading document (issue #1677) X-Git-Tag: V_2.5.0~57 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b143bfbf73da8905730d813bc3adb5c05f4b38cc;p=modules%2Fshaper.git Arc orientation when loading document (issue #1677) --- diff --git a/src/SketchPlugin/SketchPlugin_Arc.cpp b/src/SketchPlugin/SketchPlugin_Arc.cpp index e295aa8f4..07c4d3ee5 100644 --- a/src/SketchPlugin/SketchPlugin_Arc.cpp +++ b/src/SketchPlugin/SketchPlugin_Arc.cpp @@ -145,6 +145,9 @@ void SketchPlugin_Arc::execute() AttributeBooleanPtr isInversed = std::dynamic_pointer_cast(attribute(INVERSED_ID())); + // compute end parameter + aCircleForArc->parameter(anEndAttr->pnt(), paramTolerance, myParamBefore); + std::shared_ptr aCircleShape; if(!isInversed->value()) { aCircleShape = GeomAlgoAPI_EdgeBuilder::lineCircleArc(aCenter, aStartPoint, aEndPoint, aNormal);