diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-08-11 19:07:39 +0200 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-08-11 19:07:39 +0200 |
commit | 7eed651f38fb99777df169f129ef4abc59324520 (patch) | |
tree | c9875a7f75f645206888d15493904f097602e424 /editor | |
parent | 88f3b5f9d52f740b24fabfb8bc01b8b7026ba279 (diff) | |
download | redot-engine-7eed651f38fb99777df169f129ef4abc59324520.tar.gz |
[Editor] Fix missing bind for animation editor callback
`timeline_changed` signal was connected to a method with three arguments
but provides two.
Diffstat (limited to 'editor')
-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 f64c4532a1..d72c7926aa 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -2089,7 +2089,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(AnimationPlayerEditorPlugin *p_plug add_child(track_editor); track_editor->set_v_size_flags(SIZE_EXPAND_FILL); - track_editor->connect(SNAME("timeline_changed"), callable_mp(this, &AnimationPlayerEditor::_animation_key_editor_seek)); + track_editor->connect(SNAME("timeline_changed"), callable_mp(this, &AnimationPlayerEditor::_animation_key_editor_seek).bind(false)); track_editor->connect(SNAME("animation_len_changed"), callable_mp(this, &AnimationPlayerEditor::_animation_key_editor_anim_len_changed)); _update_player(); |