Fix entity "unlock" edits not being propagated to clients

The lastEditedBy property was not being updated when changing the locked
property of entities from true to false.
This commit is contained in:
Ryan Huffman 2017-04-03 15:51:19 -07:00
parent 29b966ee04
commit b9fffc10f8

View file

@ -182,6 +182,7 @@ bool EntityTree::updateEntityWithElement(EntityItemPointer entity, const EntityI
if (!wantsLocked) {
EntityItemProperties tempProperties;
tempProperties.setLocked(wantsLocked);
tempProperties.setLastEdited(properties.getLastEdited());
bool success;
AACube queryCube = entity->getQueryAACube(success);