diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-12 16:56:30 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-12 16:56:30 +0100 |
commit | 3e23755d24ed04fb5b04ef4567043ba77a38137b (patch) | |
tree | ca04412dab734363a4cd1909a45f62b9e4ec7ac7 | |
parent | 5abeb043d00c523b433cf3c9f6940142a3eeb368 (diff) | |
parent | 5671e47d206036526fe0fb06c9657ecf9bdbc240 (diff) | |
download | redot-engine-3e23755d24ed04fb5b04ef4567043ba77a38137b.tar.gz |
Merge pull request #83430 from RandomShaper/fix_onion_audio
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 09481ce48b..d6f53e30c7 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -1632,7 +1632,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. |