From 228f9ccbfa65318ff8a636235448d07ed3a4c644 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 15 Sep 2015 16:55:57 +0300 Subject: [PATCH] Roll back the improvement for third arc point coordinates input in property panel because of issue #985 --- src/SketchPlugin/SketchPlugin_Arc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SketchPlugin/SketchPlugin_Arc.cpp b/src/SketchPlugin/SketchPlugin_Arc.cpp index 9de0fc49b..f8042bada 100644 --- a/src/SketchPlugin/SketchPlugin_Arc.cpp +++ b/src/SketchPlugin/SketchPlugin_Arc.cpp @@ -259,6 +259,7 @@ void SketchPlugin_Arc::attributeChanged(const std::string& theID) std::shared_ptr aProjection = aCircleForArc->project(anEndAttr->pnt()); if (aProjection && anEndAttr->pnt()->distance(aProjection) > tolerance) { // issue #855: trying to update only not-updated coordinate if it is possible + /* if (abs(myXEndBefore - anEndAttr->x()) < 1.e-10) { // keep Y unchanged double aVy = aCenterAttr->y() - anEndAttr->y(); double aVy2 = aVy * aVy; @@ -283,7 +284,7 @@ void SketchPlugin_Arc::attributeChanged(const std::string& theID) aProjection->setY(aCenterAttr->y() - aDY); aProjection->setX(anEndAttr->x()); } - } + }*/ anEndAttr->setValue(aProjection); } -- 2.39.2