mirror of https://github.com/godotengine/godot
Fix AnimationPlayer seeking for Discrete keys
This commit is contained in:
parent
d76c1d0e51
commit
7ed7ea53e6
|
|
@ -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…
Reference in New Issue