Shoe warp: fix communication #10
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IllusionMods/Stiletto!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "communication"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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!