From: mpv Date: Wed, 26 Aug 2015 13:06:18 +0000 (+0300) Subject: Make "create" event flushed immediately after "update": results may be created by... X-Git-Tag: V_1.4.0_beta4~238 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d19a991cefc08d756ffc2edb03085e0329e333ae;p=modules%2Fshaper.git Make "create" event flushed immediately after "update": results may be created by Updater. (in the frames of issue #829 fix) --- diff --git a/src/Model/Model_Objects.cpp b/src/Model/Model_Objects.cpp index 49bc5dfb7..71f28a123 100644 --- a/src/Model/Model_Objects.cpp +++ b/src/Model/Model_Objects.cpp @@ -664,6 +664,8 @@ void Model_Objects::synchronizeFeatures( aLoop->flush(aCreateEvent); aLoop->flush(aDeleteEvent); aLoop->flush(anUpdateEvent); + aLoop->flush(aCreateEvent); // after update of features, there could be results created + aLoop->flush(aDeleteEvent); // or deleted aLoop->flush(aRedispEvent); aLoop->flush(aToHideEvent); }