From: azv Date: Fri, 3 Apr 2015 14:42:34 +0000 (+0300) Subject: Issue #432: Don't show a fillet arc until the fillet is fully computed X-Git-Tag: V_1.1.0~57^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f99056ec8b4b4123c8ec64d4cfa7b9eae771588;p=modules%2Fshaper.git Issue #432: Don't show a fillet arc until the fillet is fully computed --- 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());