mirror of
https://github.com/godotengine/godot.git
synced 2025-10-27 03:34:17 +00:00
Fix AnimationPlayer seeking for Discrete keys
This commit is contained in:
parent
d76c1d0e51
commit
7ed7ea53e6
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ void AnimationPlayer::_process_playback_data(PlaybackData &cd, double p_delta, f
|
||||||
pi.delta = delta;
|
pi.delta = delta;
|
||||||
pi.seeked = p_seeked;
|
pi.seeked = p_seeked;
|
||||||
}
|
}
|
||||||
pi.is_external_seeking = false;
|
pi.is_external_seeking = true; // AnimationPlayer doesn't have internal seeking.
|
||||||
pi.looped_flag = looped_flag;
|
pi.looped_flag = looped_flag;
|
||||||
pi.weight = p_blend;
|
pi.weight = p_blend;
|
||||||
make_animation_instance(cd.from->name, pi);
|
make_animation_instance(cd.from->name, pi);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue