From e4d491a8808e4eb6e6878059abb64d07cdb27d50 Mon Sep 17 00:00:00 2001 From: emild Date: Tue, 13 Feb 2024 22:52:54 +0100 Subject: [PATCH] remove unused signals in AnimationBezierTrackEdit --- editor/animation_bezier_editor.cpp | 9 --------- editor/animation_track_editor.cpp | 1 - 2 files changed, 10 deletions(-) diff --git a/editor/animation_bezier_editor.cpp b/editor/animation_bezier_editor.cpp index f29b85167374..a2989eae08d3 100644 --- a/editor/animation_bezier_editor.cpp +++ b/editor/animation_bezier_editor.cpp @@ -1672,17 +1672,8 @@ void AnimationBezierTrackEdit::_bind_methods() { ClassDB::bind_method(D_METHOD("_update_locked_tracks_after"), &AnimationBezierTrackEdit::_update_locked_tracks_after); ClassDB::bind_method(D_METHOD("_bezier_track_insert_key"), &AnimationBezierTrackEdit::_bezier_track_insert_key); - ADD_SIGNAL(MethodInfo("timeline_changed", PropertyInfo(Variant::FLOAT, "position"))); - ADD_SIGNAL(MethodInfo("remove_request", PropertyInfo(Variant::INT, "track"))); - ADD_SIGNAL(MethodInfo("insert_key", PropertyInfo(Variant::FLOAT, "offset"))); ADD_SIGNAL(MethodInfo("select_key", PropertyInfo(Variant::INT, "index"), PropertyInfo(Variant::BOOL, "single"), PropertyInfo(Variant::INT, "track"))); ADD_SIGNAL(MethodInfo("clear_selection")); - ADD_SIGNAL(MethodInfo("close_request")); - - ADD_SIGNAL(MethodInfo("move_selection_begin")); - ADD_SIGNAL(MethodInfo("move_selection", PropertyInfo(Variant::FLOAT, "offset"))); - ADD_SIGNAL(MethodInfo("move_selection_commit")); - ADD_SIGNAL(MethodInfo("move_selection_cancel")); } AnimationBezierTrackEdit::AnimationBezierTrackEdit() { diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 3c704b34733a..01d710bfafe5 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -6610,7 +6610,6 @@ AnimationTrackEditor::AnimationTrackEditor() { bezier_edit->set_timeline(timeline); bezier_edit->hide(); bezier_edit->set_v_size_flags(SIZE_EXPAND_FILL); - bezier_edit->connect("close_request", callable_mp(this, &AnimationTrackEditor::_cancel_bezier_edit)); timeline_vbox->set_custom_minimum_size(Size2(0, 150) * EDSCALE);