summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2023-10-16 11:47:14 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2023-10-16 11:47:14 +0200
commit5671e47d206036526fe0fb06c9657ecf9bdbc240 (patch)
treed1d6352a9614e2eba7401a8181801db1728a113a
parent5fb9ff9986a8597c3afc0a0eec92da312c3811f5 (diff)
downloadredot-engine-5671e47d206036526fe0fb06c9657ecf9bdbc240.tar.gz
Fix onion skinning internals activating audio/method/animation tracks
-rw-r--r--editor/plugins/animation_player_editor_plugin.cpp2
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.