mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 01:17:19 +02:00
be able to delete entities in serverless domain
This commit is contained in:
parent
c83a8e9a25
commit
be52b66874
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ void EntityScriptingInterface::deleteEntity(QUuid id) {
|
||||||
shouldDelete = false;
|
shouldDelete = false;
|
||||||
} else {
|
} else {
|
||||||
// only delete local entities, server entities will round trip through the server filters
|
// only delete local entities, server entities will round trip through the server filters
|
||||||
if (entity->getClientOnly()) {
|
if (entity->getClientOnly() || _entityTree->isServerlessMode()) {
|
||||||
_entityTree->deleteEntity(entityID);
|
_entityTree->deleteEntity(entityID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue