-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
AnimationNodeTransition
's current_state
is unset after #72450
#72637
Comments
The |
Right, this is about not being able to read |
The |
Currently that statement doesn't hold if |
Are you trying to transition to the same state? Caused by the side-effects of #72450? |
Yes and no... my code is checking I think the problem is that |
Maybe the initial value should be -1 or something, but I don't know if it can be done, because I remember that not blending was not allowed. I'll look at it later. |
Godot version
afe3b94
System information
arch linux
Issue description
AnimationNodeTransition
'scurrent_state
is unset after #72450The line here https://github.com/godotengine/godot/pull/72450/files#diff-5f60b407f682f667ff4662bba3f1540fbe42dd854480db702ae445b5d56a281aL831 was moved up into the block above, and is now not called.
This is happening in my project when the first transition is to the first state.
Steps to reproduce
Try to retrieve
AnimationNodeTransition
'scurrent_state
after transitioning to the first state,current_state
is unset.Minimal reproduction project
None
The text was updated successfully, but these errors were encountered: