From 481df4938660a447d7a15115742d51144b14139e Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Mon, 7 Aug 2017 11:13:48 -0700 Subject: [PATCH] on server: note time of entity edit by remote --- libraries/entities/src/EntityTree.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/entities/src/EntityTree.cpp b/libraries/entities/src/EntityTree.cpp index 518d3bd883..f5fa7f4bdc 100644 --- a/libraries/entities/src/EntityTree.cpp +++ b/libraries/entities/src/EntityTree.cpp @@ -383,6 +383,9 @@ bool EntityTree::updateEntity(EntityItemPointer entity, const EntityItemProperti UpdateEntityOperator theOperator(getThisPointer(), containingElement, entity, newQueryAACube); recurseTreeWithOperator(&theOperator); entity->setProperties(properties); + if (getIsServer()) { + entity->updateLastEditedFromRemote(); + } // if the entity has children, run UpdateEntityOperator on them. If the children have children, recurse QQueue toProcess;