mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 07:53:08 +02:00
Merge pull request #4588 from ZappoMan/svoImportFixes
add logging for delete operations in the server
This commit is contained in:
commit
7bd6d5ca5b
1 changed files with 10 additions and 0 deletions
|
@ -920,6 +920,11 @@ int EntityTree::processEraseMessage(const QByteArray& dataByteArray, const Share
|
||||||
|
|
||||||
EntityItemID entityItemID(entityID);
|
EntityItemID entityItemID(entityID);
|
||||||
entityItemIDsToDelete << entityItemID;
|
entityItemIDsToDelete << entityItemID;
|
||||||
|
|
||||||
|
if (wantEditLogging()) {
|
||||||
|
qDebug() << "User [" << sourceNode->getUUID() << "] deleting entity. ID:" << entityItemID;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
deleteEntities(entityItemIDsToDelete, true, true);
|
deleteEntities(entityItemIDsToDelete, true, true);
|
||||||
}
|
}
|
||||||
|
@ -959,6 +964,11 @@ int EntityTree::processEraseMessageDetails(const QByteArray& dataByteArray, cons
|
||||||
|
|
||||||
EntityItemID entityItemID(entityID);
|
EntityItemID entityItemID(entityID);
|
||||||
entityItemIDsToDelete << entityItemID;
|
entityItemIDsToDelete << entityItemID;
|
||||||
|
|
||||||
|
if (wantEditLogging()) {
|
||||||
|
qDebug() << "User [" << sourceNode->getUUID() << "] deleting entity. ID:" << entityItemID;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
deleteEntities(entityItemIDsToDelete, true, true);
|
deleteEntities(entityItemIDsToDelete, true, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue