mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 03:22:27 +02:00
force delete OtherAvatar entities when necessary
This commit is contained in:
parent
4159bc4862
commit
fb090d1388
1 changed files with 1 additions and 1 deletions
|
@ -710,7 +710,7 @@ void EntityTree::deleteEntitiesByID(const QSet<EntityItemID>& ids, bool force, b
|
|||
if (_simulation) {
|
||||
_simulation->queueEraseDomainEntity(entity->getID());
|
||||
}
|
||||
} else if (entity->isLocalEntity() || entity->isMyAvatarEntity()) {
|
||||
} else if (force || entity->isLocalEntity() || entity->isMyAvatarEntity()) {
|
||||
entitiesToDelete.insert(entity);
|
||||
entity->collectChildrenForDelete(entitiesToDelete, sessionID);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue