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 incorrect expression base in AnimationNodeStateMachinePlayback::_check_advance_condition #63238

Merged
merged 1 commit into from
Jul 24, 2022

Conversation

joaopedrosgs
Copy link
Contributor

Probably a typo when deciding the root to execute the advance expression.
Fixes #62530

@kleonc

This comment was marked as outdated.

@joaopedrosgs joaopedrosgs changed the title Use the correct base in _check_advance_condition Fix incorrect expression base in AnimationNodeStateMachinePlayback::_check_advance_condition Jul 20, 2022
@joaopedrosgs

This comment was marked as outdated.

@kleonc

This comment was marked as outdated.

@joaopedrosgs

This comment was marked as outdated.

@fire
Copy link
Member

fire commented Jul 20, 2022

Does / Can this resolve the second comment? #62530 (comment)

@joaopedrosgs
Copy link
Contributor Author

joaopedrosgs commented Jul 20, 2022

Does / Can this resolve the second comment? #62530 (comment)

Nope, this only solves the issue for the tree base. If you have any suggestions, I can try to fix it here.

@joaopedrosgs
Copy link
Contributor Author

Upon further inspection, setting the root node from the transition never worked, even on the original PR for this feature (#54327). I'm searching for a solution but haven't found anything yet.

@joaopedrosgs
Copy link
Contributor Author

Just a note, for me, this can be merged already. Removing or fixing the node root from the transitions should be done on another PR.

@akien-mga akien-mga merged commit b3df275 into godotengine:master Jul 24, 2022
@akien-mga
Copy link
Member

Thanks!

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.

Advance expression for AnimationTree doesn't seem to work
5 participants