From: vsv Date: Thu, 4 Sep 2014 14:33:34 +0000 (+0400) Subject: Fixed bug with creation of second circle in sketch X-Git-Tag: V_0.4.4~80 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5b99b0be485e92fd7461b035bfb01403eea62d82;p=modules%2Fshaper.git Fixed bug with creation of second circle in sketch --- diff --git a/src/ModelAPI/ModelAPI_Feature.cpp b/src/ModelAPI/ModelAPI_Feature.cpp index 796bf5b0b..488c8e55f 100644 --- a/src/ModelAPI/ModelAPI_Feature.cpp +++ b/src/ModelAPI/ModelAPI_Feature.cpp @@ -51,7 +51,8 @@ void ModelAPI_Feature::setResult(const boost::shared_ptr& theRe static Events_ID anEvent = Events_Loop::eventByName(EVENT_OBJECT_CREATED); ModelAPI_EventCreator::get()->sendUpdated(theResult, anEvent); // Create event for first Feature, send it to make "created" earlier than "updated" - //Events_Loop::loop()->flush(anEvent); + // VSV: Commenting out of this statement causes problems with circle operation for example + Events_Loop::loop()->flush(anEvent); } else { // update *aResIter = theResult; static Events_ID anEvent = Events_Loop::eventByName(EVENT_OBJECT_UPDATED);