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

Shoe warp: fix communication #10

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

Splendide-Imaginarius
Copy link
Contributor

Upon entering a Communication scene, the shoe state was getting reset sufficiently to wipe out the changes we made to the bind poses, but not sufficiently to cause our dirty flag to get set. The animation state does get reset in this case, so we can reuse that detection to avoid breakage without having to recalculate every frame.

Let me know if you think the performance impact of this fix is problematic; I suspect it would be possible to cache the warped matrix in the same way that we cache the base matrix (but without concurrency), which would probably speed things up a bit if needed.

Upon entering a Communication scene, the shoe state was getting reset
sufficiently to wipe out the changes we made to the bind poses, but not
sufficiently to cause our dirty flag to get set. The animation state does
get reset in this case, so we can reuse that detection to avoid breakage.
Copy link
Contributor

@ManlyMarco ManlyMarco left a comment

Choose a reason for hiding this comment

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

It's probably fine but it could cause a larger hitch when animation is changing. Either way, the fix is good so I'll merge it. Thanks!

@ManlyMarco ManlyMarco merged commit 3d84b63 into IllusionMods:master Aug 18, 2023
@Splendide-Imaginarius Splendide-Imaginarius deleted the communication branch August 18, 2023 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants