send action updates even if we aren't the simulation owner

This commit is contained in:
Seth Alves 2015-11-13 12:37:07 -08:00
parent 1d0a2ddd3d
commit 919ea5f1a0

View file

@ -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) {