fix nullptr dereference in AnimationTimelineEdit

This commit is contained in:
Ruthger Dijt 2023-01-23 21:59:29 +01:00
parent 44b41ded82
commit e2a87ec28b

View File

@ -4299,6 +4299,8 @@ void AnimationTrackEditor::_update_tracks() {
memdelete(track_vbox->get_child(0));
}
timeline->set_track_edit(nullptr);
track_edits.clear();
groups.clear();