]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fixed bug with creation of second circle in sketch
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 4 Sep 2014 14:33:34 +0000 (18:33 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 4 Sep 2014 14:33:34 +0000 (18:33 +0400)
src/ModelAPI/ModelAPI_Feature.cpp

index 796bf5b0bffd3618fcdfec6bdd50b34540792db2..488c8e55ffc7f861a8dfd75823efbdd31d8fa872 100644 (file)
@@ -51,7 +51,8 @@ void ModelAPI_Feature::setResult(const boost::shared_ptr<ModelAPI_Result>& 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);