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
[AnimationState] Some problem with mixing out not in order. #970
Comments
@pharan How can I see this with the ref impl? I tried:
I don't see meshes that aren't reset to the setup pose, though I don't really know what I'm looking for. I also tried using |
@NathanSweet I actually ran into the same problem. vzlomvl mistyped.
That should repro it. |
Ah, thanks @pharan! I think I have a good fix. |
This totalAlpha condition seems to be preventing an ended TrackEntry (mixTime > mixDuration) from actually being ended.
spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java
Lines 147 to 151 in 34086c1
With this condition in place, it seems to present the problem linked below. Commenting it out removes it.
http://esotericsoftware.com/forum/Wrong-animation-mix-9188
The bug may also be related to this:
spine-runtimes/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/AnimationState.java
Lines 222 to 223 in 34086c1
As the code passes through this branch several times instead of only once, because the TrackEntry doesn't end.
The text was updated successfully, but these errors were encountered: