mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 13:33:26 +02:00
set created-time for imported entities to 'now'
This commit is contained in:
parent
232bd475df
commit
7ea7bd3e1d
1 changed files with 4 additions and 0 deletions
|
@ -1376,6 +1376,10 @@ bool EntityTree::sendEntitiesOperation(OctreeElementPointer element, void* extra
|
|||
item->globalizeProperties(properties, "Cannot find %3 parent of %2 %1", args->root);
|
||||
}
|
||||
}
|
||||
|
||||
// set creation time to "now" for imported entities
|
||||
properties.setCreated(usecTimestampNow());
|
||||
|
||||
properties.markAllChanged(); // so the entire property set is considered new, since we're making a new entity
|
||||
|
||||
// queue the packet to send to the server
|
||||
|
|
Loading…
Reference in a new issue