From 9f99056ec8b4b4123c8ec64d4cfa7b9eae771588 Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 3 Apr 2015 17:42:34 +0300 Subject: [PATCH] Issue #432: Don't show a fillet arc until the fillet is fully computed --- src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp b/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp index 41bb37388..7d8e142bc 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp @@ -214,10 +214,10 @@ void SketchPlugin_ConstraintFillet::execute() aCenter->x(), aCenter->y()); std::dynamic_pointer_cast( aNewArc->attribute(SketchPlugin_Arc::START_ID()))->setValue( - aCenter->x() - aStep->y(), aCenter->y() + aStep->x()); + aSharedPoint->x() - 1.e-5 * aStep->y(), aSharedPoint->y() + 1.e-5 * aStep->x()); std::dynamic_pointer_cast( aNewArc->attribute(SketchPlugin_Arc::END_ID()))->setValue( - aCenter->x() + aStep->y(), aCenter->y() - aStep->x()); + aSharedPoint->x() + 1.e-5 * aStep->y(), aSharedPoint->y() - 1.e-5 * aStep->x()); aNewArc->execute(); // attach new arc to the list aRefListOfFillet->append(aNewArc->lastResult()); -- 2.39.2