Merge pull request #68998 from hackenshaw/makhak/avoid_error_spamming_in_animation_tree
Avoid error spamming in animation_tree when path is not found
This commit is contained in:
commit
cc6321dfbe
1 changed files with 3 additions and 1 deletions
|
@ -1031,7 +1031,9 @@ void AnimationTree::_process_graph(double p_delta) {
|
|||
}
|
||||
|
||||
NodePath path = a->track_get_path(i);
|
||||
ERR_CONTINUE(!track_cache.has(path));
|
||||
if (!track_cache.has(path)) {
|
||||
continue; // No path, but avoid error spamming.
|
||||
}
|
||||
TrackCache *track = track_cache[path];
|
||||
|
||||
ERR_CONTINUE(!state.track_map.has(path));
|
||||
|
|
Loading…
Reference in a new issue