From 95ea76f5db6e019730ca8034f5437cc743e1c808 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 26 Feb 2016 08:47:24 +0300 Subject: [PATCH] #1335 ???radius??? and ???angle??? fields for arcs Create rectangle, start fillet, select all with rectangle, arcs are not visualized. Reason: radius, angle are not filled. It is performed by attributechanged of the arc. --- 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 b5a802280..70aa19310 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp @@ -259,7 +259,7 @@ void SketchPlugin_ConstraintFillet::execute() aResultEdgeB->execute(); // update fillet arc: make the arc correct for sure, so, it is not needed to process the "attribute updated" // by arc; moreover, it may cause cyclicity in hte mechanism of updater - aResultArc->data()->blockSendAttributeUpdated(true); + //aResultArc->data()->blockSendAttributeUpdated(true); std::dynamic_pointer_cast( aResultArc->attribute(SketchPlugin_Arc::CENTER_ID()))->setValue(aCenter->x(), aCenter->y()); if(isReversed) { @@ -278,7 +278,7 @@ void SketchPlugin_ConstraintFillet::execute() } aStartPoint->setValue(aTangentPntA->x(), aTangentPntA->y()); aEndPoint->setValue(aTangentPntB->x(), aTangentPntB->y()); - aResultArc->data()->blockSendAttributeUpdated(false); + //aResultArc->data()->blockSendAttributeUpdated(false); aResultArc->execute(); if(anIsNeedNewObjects) { -- 2.39.2