Re-opening PR: Fix wrong model layer and texture applied to openable armor #162
No reviewers
Labels
No labels
documentation
duplicate
help wanted
invalid
Palladium 4 / 1.20.1
Palladium 5 / 1.21+
question
Review requested
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ThreeTAG/Palladium!162
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Spyeedy/1.20/dev-openable-fix"
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?
Note: This PR is a duplicate of https://github.com/ThreeTAG/Palladium/pull/148. I was renaming branches and well, this shit happened.
When a openable armor renderer has 2 different textures and 2 model layers for the "default" and "open" states, the textures and model layers are wrongly applied respectively.
For openable armor that has no open timer, the "default" state's model layer is used for the "open" state as well.
For openable armor that has a timer, the "open" texture is used for the default state. More specifically, the open animation's first frame texture is used.
This PR strives to fix this issue, and I pray that no further bugs were introduced for openable armors. I have tested it as vigorously as I could 😭. This bug drove me crazy 💀
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.