mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 07:13:57 +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;
|
||||
unlock();
|
||||
|
||||
auto ownerEntity = _ownerEntity.lock();
|
||||
if (ownerEntity) {
|
||||
ownerEntity->setActionDataDirty(true);
|
||||
}
|
||||
|
||||
ObjectActionSpring::updateActionWorker(deltaTimeStep);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue