diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-09-13 22:16:53 -0300 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-09-13 22:16:53 -0300 |
commit | 5c2582ad340cb5b67e8d459a06bf41fd3bb6c386 (patch) | |
tree | 5afce86e89212d06255dfddfbef52795a8dd92c2 /editor/animation_track_editor.h | |
parent | 24e1039eb6fe32115e8d1a62a84965e9be19a2ed (diff) |
Fix errors in the animation editor when removing tracks via undo/redo
Diffstat (limited to 'editor/animation_track_editor.h')
-rw-r--r-- | editor/animation_track_editor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/animation_track_editor.h b/editor/animation_track_editor.h index 96fd10effd..2f8fe6392d 100644 --- a/editor/animation_track_editor.h +++ b/editor/animation_track_editor.h @@ -385,7 +385,7 @@ class AnimationTrackEditor : public VBoxContainer { void _insert_key_from_track(float p_ofs, int p_track); void _add_method_key(const String &p_method); - void _clear_selection(); + void _clear_selection(bool p_update = false); void _clear_selection_for_anim(const Ref<Animation> &p_anim); void _select_at_anim(const Ref<Animation> &p_anim, int p_track, float p_pos); |