From: nds Date: Fri, 26 Feb 2016 05:47:24 +0000 (+0300) Subject: #1335 ???radius??? and ???angle??? fields for arcs X-Git-Tag: V_2.2.0~63 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=95ea76f5db6e019730ca8034f5437cc743e1c808;p=modules%2Fshaper.git #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. --- 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) {