mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-21 16:37:20 +01:00
Fix AnimationTree.
This commit is contained in:
parent
f6d9ca069f
commit
577376b61f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user