[Editor] Fix AnimationTrackEditor::timeline_changed signal

Signal was declared with two arguments, emitted with both two and three
This commit is contained in:
A Thousand Ships 2024-08-13 14:15:20 +02:00
parent 28e65b0e4e
commit 4fe0d0ee86
No known key found for this signature in database
GPG key ID: 2033189A662F8BD7
2 changed files with 4 additions and 4 deletions

View file

@ -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).bind(false));
track_editor->connect(SNAME("timeline_changed"), callable_mp(this, &AnimationPlayerEditor::_animation_key_editor_seek));
track_editor->connect(SNAME("animation_len_changed"), callable_mp(this, &AnimationPlayerEditor::_animation_key_editor_anim_len_changed));
_update_player();