mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 07:19:14 +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());
|
SharedNodePointer ownerNode = nodeList->nodeWithUUID(entity->getSimulatorID());
|
||||||
if (ownerNode.isNull() || !ownerNode->isAlive()) {
|
if (ownerNode.isNull() || !ownerNode->isAlive()) {
|
||||||
qCDebug(entities) << "auto-removing simulation owner" << entity->getSimulatorID();
|
qCDebug(entities) << "auto-removing simulation owner" << entity->getSimulatorID();
|
||||||
|
// TODO: zero velocities when we clear simulatorID?
|
||||||
entity->setSimulatorID(QUuid());
|
entity->setSimulatorID(QUuid());
|
||||||
itemItr = _hasSimulationOwnerEntities.erase(itemItr);
|
itemItr = _hasSimulationOwnerEntities.erase(itemItr);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue