[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:
parent
88f3b5f9d5
commit
7eed651f38
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue