Restore capture caches when missing
(cherry picked from commit 642d91381a
)
This commit is contained in:
parent
a6d8773d0b
commit
e94aab7936
1 changed files with 1 additions and 2 deletions
|
@ -416,8 +416,7 @@ void AnimationPlayer::_animation_process_animation(AnimationData *p_anim, float
|
||||||
Animation::UpdateMode update_mode = a->value_track_get_update_mode(i);
|
Animation::UpdateMode update_mode = a->value_track_get_update_mode(i);
|
||||||
|
|
||||||
if (update_mode == Animation::UPDATE_CAPTURE) {
|
if (update_mode == Animation::UPDATE_CAPTURE) {
|
||||||
|
if (p_started || pa->capture == Variant()) {
|
||||||
if (p_started) {
|
|
||||||
pa->capture = pa->object->get_indexed(pa->subpath);
|
pa->capture = pa->object->get_indexed(pa->subpath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue