From b17d459f388b6000153294f6e2bb226cb2f2578c Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 4 Sep 2015 16:40:17 +0300 Subject: [PATCH] Make moved groups update their results --- src/Model/Model_Objects.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.39.2