From: mpv Date: Fri, 4 Sep 2015 13:40:17 +0000 (+0300) Subject: Make moved groups update their results X-Git-Tag: V_1.4.0_beta4~117 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b17d459f388b6000153294f6e2bb226cb2f2578c;p=modules%2Fshaper.git Make moved groups update their results --- diff --git a/src/Model/Model_Objects.cpp b/src/Model/Model_Objects.cpp index a1587ad01..8c65194fd 100644 --- a/src/Model/Model_Objects.cpp +++ b/src/Model/Model_Objects.cpp @@ -297,6 +297,8 @@ void Model_Objects::moveFeature(FeaturePtr theMoved, FeaturePtr theAfterThis) aRefs->SetInternalArray(aNewArray); // update the feature and the history clearHistory(theMoved); + // make sure all (selection) attributes of moved feature will be updated + theMoved->data()->setUpdateID(0); static Events_ID EVENT_UPD = Events_Loop::loop()->eventByName(EVENT_OBJECT_UPDATED); ModelAPI_EventCreator::get()->sendUpdated(theMoved, EVENT_UPD); }