Unverified Commit 7b67c585 authored by Rémi Verschelde's avatar Rémi Verschelde Committed by GitHub
Browse files

Merge pull request #26901 from KidRigger/anim_crash

Prevents a Null Reference in deleting Animations.
parents 154b6f01 d6e4a08c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3424,6 +3424,10 @@ void AnimationTrackEditor::_animation_update() {

	bool same = true;

	if (animation.is_null()) {
		return;
	}

	if (track_edits.size() == animation->get_track_count()) {
		//check tracks are the same