[Editor] Fix missing bind for animation editor callback

`timeline_changed` signal was connected to a method with three arguments
but provides two.
This commit is contained in:
A Thousand Ships 2024-08-11 19:07:39 +02:00
parent 88f3b5f9d5
commit 7eed651f38
No known key found for this signature in database
GPG Key ID: 2033189A662F8BD7
1 changed files with 1 additions and 1 deletions

View File

@ -2089,7 +2089,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(AnimationPlayerEditorPlugin *p_plug
add_child(track_editor); add_child(track_editor);
track_editor->set_v_size_flags(SIZE_EXPAND_FILL); 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)); track_editor->connect(SNAME("animation_len_changed"), callable_mp(this, &AnimationPlayerEditor::_animation_key_editor_anim_len_changed));
_update_player(); _update_player();