diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-28 15:50:01 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-28 15:50:01 +0200 |
commit | b8f3c5e2abed950590f3e750c63008a00092891f (patch) | |
tree | 4fc5d4f3d5294f8de7942efb083f219398db3f6e /editor/plugins/animation_player_editor_plugin.cpp | |
parent | 607fa8229b711f6baebb3b112f094d9545f1c73f (diff) | |
parent | 4ed62665a21ff4dc8d483c0fd268ccc8fb60f638 (diff) | |
download | redot-engine-b8f3c5e2abed950590f3e750c63008a00092891f.tar.gz |
Merge pull request #92427 from AThousandShips/bind_go_away
Replace `.bind(...).call_deferred()` with `.call_deferred(...)`
Diffstat (limited to 'editor/plugins/animation_player_editor_plugin.cpp')
-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 1366a38bec..62369cc2c1 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -1711,7 +1711,7 @@ void AnimationPlayerEditor::_prepare_onion_layers_2_step_prepare(int p_step_offs 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. - callable_mp(this, &AnimationPlayerEditor::_prepare_onion_layers_2_step_capture).bind(p_step_offset, p_capture_idx).call_deferred(); + callable_mp(this, &AnimationPlayerEditor::_prepare_onion_layers_2_step_capture).call_deferred(p_step_offset, p_capture_idx); return; } else { next_capture_idx++; |