From: mpv Date: Tue, 27 Feb 2018 12:40:23 +0000 (+0300) Subject: Fix for the issue #2450 : consequent creation of fillet requires extra click X-Git-Tag: V_3.0.0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ebeb032e907b5d04373365b950d0ad99d9399bd2;p=modules%2Fshaper.git Fix for the issue #2450 : consequent creation of fillet requires extra click --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index f6f4cb7a1..44f7a47e9 100755 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -604,6 +604,8 @@ bool Model_Update::processFeature(FeaturePtr theFeature) static Events_ID anID = Events_Loop::eventByName("SketchPrepared"); std::shared_ptr 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 aWholeR;