mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-19 04:46:48 +02:00
don't have interface give up ownership
This commit is contained in:
parent
a72ac3ead2
commit
96a44314c9
1 changed files with 4 additions and 4 deletions
|
@ -339,12 +339,12 @@ void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, uint32_
|
|||
setShouldClaimSimulationOwnership(false);
|
||||
} else if (simulatorID == myNodeID && zeroSpeed && zeroSpin) {
|
||||
// we are the simulator and the entity has stopped. give up "simulator" status
|
||||
_entity->setSimulatorID(QUuid());
|
||||
properties.setSimulatorID(QUuid());
|
||||
// _entity->setSimulatorID(QUuid());
|
||||
// properties.setSimulatorID(QUuid());
|
||||
} else if (simulatorID == myNodeID && !_body->isActive()) {
|
||||
// it's not active. don't keep simulation ownership.
|
||||
_entity->setSimulatorID(QUuid());
|
||||
properties.setSimulatorID(QUuid());
|
||||
// _entity->setSimulatorID(QUuid());
|
||||
// properties.setSimulatorID(QUuid());
|
||||
}
|
||||
|
||||
// RELIABLE_SEND_HACK: count number of updates for entities at rest so we can stop sending them after some limit.
|
||||
|
|
Loading…
Reference in a new issue