mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 08:56:26 +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();
|
qCDebug(entities) << "auto-removing simulation owner" << entity->getSimulatorID();
|
||||||
entity->setSimulatorID(QUuid());
|
entity->setSimulatorID(QUuid());
|
||||||
itemItr = _hasSimulationOwnerEntities.erase(itemItr);
|
itemItr = _hasSimulationOwnerEntities.erase(itemItr);
|
||||||
|
} else {
|
||||||
|
++itemItr;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
++itemItr;
|
++itemItr;
|
||||||
|
|
Loading…
Reference in a new issue