Fix AnimationTree.

This commit is contained in:
Relintai 2024-04-06 14:00:16 +02:00
parent f6d9ca069f
commit 577376b61f

View File

@ -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;