mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 09:29:16 +02:00
add a TODO comment
This commit is contained in:
parent
2165d18c05
commit
45d4fa91ab
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ void SimpleEntitySimulation::updateEntitiesInternal(const quint64& now) {
|
|||
SharedNodePointer ownerNode = nodeList->nodeWithUUID(entity->getSimulatorID());
|
||||
if (ownerNode.isNull() || !ownerNode->isAlive()) {
|
||||
qCDebug(entities) << "auto-removing simulation owner" << entity->getSimulatorID();
|
||||
// TODO: zero velocities when we clear simulatorID?
|
||||
entity->setSimulatorID(QUuid());
|
||||
itemItr = _hasSimulationOwnerEntities.erase(itemItr);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue