mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 12:33:27 +02:00
oops fix endless loop
This commit is contained in:
parent
4c3cbea261
commit
c63b8a93ec
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ void SimpleEntitySimulation::updateEntitiesInternal(const quint64& now) {
|
|||
qCDebug(entities) << "auto-removing simulation owner" << entity->getSimulatorID();
|
||||
entity->setSimulatorID(QUuid());
|
||||
itemItr = _hasSimulationOwnerEntities.erase(itemItr);
|
||||
} else {
|
||||
++itemItr;
|
||||
}
|
||||
} else {
|
||||
++itemItr;
|
||||
|
|
Loading…
Reference in a new issue