summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-08 13:56:35 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-08 13:56:35 +0200
commitbbac8198f89c0cbf0da4293201e54aa847947370 (patch)
tree1180d655020e9fe16b7a1cb7bf8b5245b01dace9
parentf7c374272f5081331634fd704fce18bda260060c (diff)
parent51c5278d837e49f99220e4fb67ea844f30e872f9 (diff)
Merge pull request #67070 from timothyqiu/bind-redraw
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);