if an action changes its own arguments, cause reserialisation

This commit is contained in:
Seth Alves 2015-07-09 14:50:31 -07:00
parent a01fb6f1dc
commit 5312beeaf4

View file

@ -89,6 +89,11 @@ void AvatarActionHold::updateActionWorker(float deltaTimeStep) {
_rotationalTarget = rotation;
unlock();
auto ownerEntity = _ownerEntity.lock();
if (ownerEntity) {
ownerEntity->setActionDataDirty(true);
}
ObjectActionSpring::updateActionWorker(deltaTimeStep);
}