summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2022-10-08 17:34:16 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2022-10-08 17:34:16 +0800
commit51c5278d837e49f99220e4fb67ea844f30e872f9 (patch)
tree1fb52b13123fe72ef28098bd9eb038b6db73e381
parent18177828ad97286ca88cbdcfb763c967858d051b (diff)
Bind `AnimationTrackEditor::_redraw_tracks` for UndoRedo
-rw-r--r--editor/animation_track_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index 1d13972458..5c4ef35f1c 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -6458,6 +6458,7 @@ void AnimationTrackEditor::_select_all_tracks_for_copy() {
void AnimationTrackEditor::_bind_methods() {
ClassDB::bind_method("_animation_update", &AnimationTrackEditor::_animation_update);
ClassDB::bind_method("_track_grab_focus", &AnimationTrackEditor::_track_grab_focus);
+ ClassDB::bind_method("_redraw_tracks", &AnimationTrackEditor::_redraw_tracks);
ClassDB::bind_method("_clear_selection_for_anim", &AnimationTrackEditor::_clear_selection_for_anim);
ClassDB::bind_method("_select_at_anim", &AnimationTrackEditor::_select_at_anim);
ClassDB::bind_method("_clear_selection", &AnimationTrackEditor::_clear_selection);