From: nds Date: Thu, 26 Jan 2017 10:09:34 +0000 (+0300) Subject: Issue #1941 Split auxiliary line. X-Git-Tag: V_2.7.0~306 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=74a552ed6ea274b32a80acff7c752ad1888eb9fa;p=modules%2Fshaper.git Issue #1941 Split auxiliary line. Case: create circle in sketch, set auxiliary state, create lines contour: 1st, 3rd and 5th points are coincident to the circle. Make split of a circle segment. Call arc edit, set not auxiliary. Result it is visualized still as auxiliary. --- diff --git a/src/Model/Model_Data.cpp b/src/Model/Model_Data.cpp index a2e4a208c..b008e76c4 100644 --- a/src/Model/Model_Data.cpp +++ b/src/Model/Model_Data.cpp @@ -300,7 +300,7 @@ void Model_Data::sendAttributeUpdated(ModelAPI_Attribute* theAttr) bool Model_Data::blockSendAttributeUpdated(const bool theBlock, const bool theSendMessage) { - bool aWasBlocked = mySendAttributeUpdated; + bool aWasBlocked = !mySendAttributeUpdated; if (mySendAttributeUpdated == theBlock) { mySendAttributeUpdated = !theBlock; if (mySendAttributeUpdated && !myWasChangedButBlocked.empty()) {