]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the issue #2450 : consequent creation of fillet requires extra click
authormpv <mikhail.ponikarov@opencascade.com>
Tue, 27 Feb 2018 12:40:23 +0000 (15:40 +0300)
committermpv <mikhail.ponikarov@opencascade.com>
Tue, 27 Feb 2018 12:40:23 +0000 (15:40 +0300)
src/Model/Model_Update.cpp

index f6f4cb7a15c6f27375980b3238b5872f2e3ee14d..44f7a47e94c7abb217565f1732083eee156a2d3a 100755 (executable)
@@ -604,6 +604,8 @@ bool Model_Update::processFeature(FeaturePtr theFeature)
     static Events_ID anID = Events_Loop::eventByName("SketchPrepared");
     std::shared_ptr<Events_Message> aMsg(new Events_Message(anID, this));
     Events_Loop* aLoop = Events_Loop::loop();
+    // in case it is finish operation, flush for the sketch other events (#2450)
+    aLoop->flush(aLoop->eventByName(EVENT_OBJECT_UPDATED));
     aLoop->send(aMsg);
     // check that sub-elements of sketch are updated => sketch must be re-processed
     std::set<FeaturePtr> aWholeR;