mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 20:34:07 +02:00
Merge pull request #25 from druiz17/serverless-domains
Be able to delete entities from within serverless domain.
This commit is contained in:
commit
c599a03557
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ void EntityScriptingInterface::deleteEntity(QUuid id) {
|
|||
shouldDelete = false;
|
||||
} else {
|
||||
// only delete local entities, server entities will round trip through the server filters
|
||||
if (entity->getClientOnly()) {
|
||||
if (entity->getClientOnly() || _entityTree->isServerlessMode()) {
|
||||
_entityTree->deleteEntity(entityID);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue