mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
send action updates even if we aren't the simulation owner
This commit is contained in:
parent
1d0a2ddd3d
commit
919ea5f1a0
1 changed files with 4 additions and 0 deletions
|
@ -370,6 +370,10 @@ bool EntityMotionState::shouldSendUpdate(uint32_t simulationStep, const QUuid& s
|
|||
assert(_body);
|
||||
assert(entityTreeIsLocked());
|
||||
|
||||
if (_entity->actionDataNeedsTransmit()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (_entity->getSimulatorID() != sessionID) {
|
||||
// we don't own the simulation, but maybe we should...
|
||||
if (_outgoingPriority != NO_PRORITY) {
|
||||
|
|
Loading…
Reference in a new issue