mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:48:09 +02:00
on server: note time of entity edit by remote
This commit is contained in:
parent
648b8ff054
commit
481df49386
1 changed files with 3 additions and 0 deletions
|
@ -383,6 +383,9 @@ bool EntityTree::updateEntity(EntityItemPointer entity, const EntityItemProperti
|
||||||
UpdateEntityOperator theOperator(getThisPointer(), containingElement, entity, newQueryAACube);
|
UpdateEntityOperator theOperator(getThisPointer(), containingElement, entity, newQueryAACube);
|
||||||
recurseTreeWithOperator(&theOperator);
|
recurseTreeWithOperator(&theOperator);
|
||||||
entity->setProperties(properties);
|
entity->setProperties(properties);
|
||||||
|
if (getIsServer()) {
|
||||||
|
entity->updateLastEditedFromRemote();
|
||||||
|
}
|
||||||
|
|
||||||
// if the entity has children, run UpdateEntityOperator on them. If the children have children, recurse
|
// if the entity has children, run UpdateEntityOperator on them. If the children have children, recurse
|
||||||
QQueue<SpatiallyNestablePointer> toProcess;
|
QQueue<SpatiallyNestablePointer> toProcess;
|
||||||
|
|
Loading…
Reference in a new issue