Merge pull request #9664 from howard-stearns/lastEditedBy-without-physics

lastEditedBy is set by add/edit, but not by physics packets
This commit is contained in:
Brad Hefta-Gaub 2017-02-13 17:17:50 -08:00 committed by GitHub
commit 0dcf6ebd76

View file

@ -1119,7 +1119,9 @@ int EntityTree::processEditPacketData(ReceivedMessage& message, const unsigned c
endLogging = usecTimestampNow();
startUpdate = usecTimestampNow();
properties.setLastEditedBy(senderNode->getUUID());
if (!isPhysics) {
properties.setLastEditedBy(senderNode->getUUID());
}
updateEntity(entityItemID, properties, senderNode);
existingEntity->markAsChangedOnServer();
endUpdate = usecTimestampNow();