Merge pull request #71940 from RuthgerD/nullptrfixup

Fix nullptr dereference in AnimationTimelineEdit
This commit is contained in:
Yuri Sizov 2023-02-11 23:42:22 +03:00 committed by GitHub
commit c7d5596955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();