mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:33:31 +02:00
allow entity server to time-out entity-simulation ownership rather than having interfaces give it up
This commit is contained in:
parent
32673efc80
commit
41166c1a42
1 changed files with 2 additions and 2 deletions
|
@ -294,8 +294,8 @@ void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, uint32_
|
|||
properties.setSimulatorID(myNodeID);
|
||||
} else if (simulatorID == myNodeID && zeroSpeed && zeroSpin) {
|
||||
// we are the simulator and the object has stopped. give up "simulator" status
|
||||
_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