From 5b99b0be485e92fd7461b035bfb01403eea62d82 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 4 Sep 2014 18:33:34 +0400 Subject: [PATCH] Fixed bug with creation of second circle in sketch --- src/ModelAPI/ModelAPI_Feature.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.2