-
Notifications
You must be signed in to change notification settings - Fork 26
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
StateMachine resource corrupted after dragging transition line to itself #5
Comments
Good news. I managed to figure out what is the couse of this bug :) This:
I managed to connect the state to itself ;) I thought you can delete transitions by dragging them away, turns out I just created a transition that shouldn't be valid this way. |
Lol we posted at the same time xD |
You have to create a transition to the other state, then drag it out to the parent state itself :D |
Mind blown, I didn't know such "feature" exist XD I will fix it once I am free, since it is not a critical bug.
What do you think? |
I think the best option would be to cancel the action like when dragging to empty space. Option 1 could lead to annoying behavior when somebody would accidentally drag a transition on the parent and delete it by accident, when his intent was to reconnect it to the other state. |
Sounds great, thanks for the feedback! |
Thanks for a great add-on ;P |
Hi :)
While testing your addon I found that there might be some bugs with SM resource transitions editing.
If you delete the transition the SM resource is corrupted somehow, and it looses transitions if you switch to the other node or restart the project.
Test Project:
gd-YAFSM_test.zip
How to reproduce:
What happens: the transition that you just created disappears.
I also get errors:
Let me know if you will need more info :)
Cheers!
The text was updated successfully, but these errors were encountered: