mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:10:37 +02:00
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:
commit
0dcf6ebd76
1 changed files with 3 additions and 1 deletions
|
@ -1119,7 +1119,9 @@ int EntityTree::processEditPacketData(ReceivedMessage& message, const unsigned c
|
||||||
endLogging = usecTimestampNow();
|
endLogging = usecTimestampNow();
|
||||||
|
|
||||||
startUpdate = usecTimestampNow();
|
startUpdate = usecTimestampNow();
|
||||||
properties.setLastEditedBy(senderNode->getUUID());
|
if (!isPhysics) {
|
||||||
|
properties.setLastEditedBy(senderNode->getUUID());
|
||||||
|
}
|
||||||
updateEntity(entityItemID, properties, senderNode);
|
updateEntity(entityItemID, properties, senderNode);
|
||||||
existingEntity->markAsChangedOnServer();
|
existingEntity->markAsChangedOnServer();
|
||||||
endUpdate = usecTimestampNow();
|
endUpdate = usecTimestampNow();
|
||||||
|
|
Loading…
Reference in a new issue