Skip to content

Commit

Permalink
Fix AnimationTree.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Apr 6, 2024
1 parent f6d9ca0 commit 577376b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scene/animation/animation_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -949,11 +949,7 @@ void AnimationTree::_process_graph(float p_delta) {

TrackCache **track_pp = track_cache.getptr(path);
ERR_CONTINUE(!track_pp);

TrackCache *track = *track_pp;
if (track->type != a->track_get_type(i)) {
continue; //may happen should not
}

track->root_motion = root_motion_track == path;

Expand Down

0 comments on commit 577376b

Please sign in to comment.