diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-10-16 11:47:14 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-10-16 11:47:14 +0200 |
commit | 5671e47d206036526fe0fb06c9657ecf9bdbc240 (patch) | |
tree | d1d6352a9614e2eba7401a8181801db1728a113a | |
parent | 5fb9ff9986a8597c3afc0a0eec92da312c3811f5 (diff) | |
download | redot-engine-5671e47d206036526fe0fb06c9657ecf9bdbc240.tar.gz |
Fix onion skinning internals activating audio/method/animation tracks
-rw-r--r-- | editor/plugins/animation_player_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index 440496b948..09ff7d7d92 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -1635,7 +1635,7 @@ void AnimationPlayerEditor::_prepare_onion_layers_2_step_prepare(int p_step_offs bool valid = anim->get_loop_mode() != Animation::LOOP_NONE || (pos >= 0 && pos <= anim->get_length()); onion.captures_valid[p_capture_idx] = valid; if (valid) { - player->seek(pos, true); + player->seek(pos, true, true); OS::get_singleton()->get_main_loop()->process(0); // This is the key: process the frame and let all callbacks/updates/notifications happen // so everything (transforms, skeletons, etc.) is up-to-date visually. |