Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AnimationMixer breaking animations with redundant check #88557

Merged

Conversation

akien-mga
Copy link
Member

Also change Node::get_node_and_resource to prevent it from printing an error from Node::get_node, and just returns nullptr. This is what the redundant check was trying to prevent.

(I would have force pushed #88554 with the get_node_and_resource changes, but the fork it's made from doesn't allow force pushes on PR branches.)

Also change `Node::get_node_and_resource` to prevent it from printing an
error from `Node::get_node`, and just returns nullptr. This is what the
redundant check was trying to prevent.

Fixes godotengine#88428.

Co-authored-by: Rémi Verschelde <[email protected]>
Copy link
Member

@TokageItLab TokageItLab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have agreed this change on #88554.

@akien-mga akien-mga merged commit fb10e67 into godotengine:master Feb 19, 2024
15 checks passed
@akien-mga akien-mga deleted the fix-animation-mixer-resolving-tracks branch February 19, 2024 16:09
@akien-mga
Copy link
Member Author

Thanks @TCROC, @monxa and @personalmountains for the work tracking this down!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AnimationMixer::_update_caches() broken because of new warnings
3 participants