mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +02:00
if an action changes its own arguments, cause reserialisation
This commit is contained in:
parent
a01fb6f1dc
commit
5312beeaf4
1 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,11 @@ void AvatarActionHold::updateActionWorker(float deltaTimeStep) {
|
||||||
_rotationalTarget = rotation;
|
_rotationalTarget = rotation;
|
||||||
unlock();
|
unlock();
|
||||||
|
|
||||||
|
auto ownerEntity = _ownerEntity.lock();
|
||||||
|
if (ownerEntity) {
|
||||||
|
ownerEntity->setActionDataDirty(true);
|
||||||
|
}
|
||||||
|
|
||||||
ObjectActionSpring::updateActionWorker(deltaTimeStep);
|
ObjectActionSpring::updateActionWorker(deltaTimeStep);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue