Merge pull request #71940 from RuthgerD/nullptrfixup
Fix nullptr dereference in AnimationTimelineEdit
This commit is contained in:
commit
c7d5596955
1 changed files with 2 additions and 0 deletions
|
@ -4299,6 +4299,8 @@ void AnimationTrackEditor::_update_tracks() {
|
|||
memdelete(track_vbox->get_child(0));
|
||||
}
|
||||
|
||||
timeline->set_track_edit(nullptr);
|
||||
|
||||
track_edits.clear();
|
||||
groups.clear();
|
||||
|
||||
|
|
Loading…
Reference in a new issue