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

[SM64] Properly Apply DL Reverts to Last Drawn with Switch Nodes #353

Merged
merged 1 commit into from
May 28, 2024

Conversation

jesusyoshi54
Copy link
Collaborator

@jesusyoshi54 jesusyoshi54 commented May 27, 2024

This issue is caused by reverts not being applied properly to all switch children. Basically only the last switch child got the revert, when it should be the last drawn one, and if it could be multiple different options, all of those should get a revert.
The first image is the bug in question, and the second is the one with fixes applied.
image

image

Mentioned in #331

… just the last ones in the geo layout hierarchy
Copy link
Collaborator

@Lilaa3 Lilaa3 left a comment

Choose a reason for hiding this comment

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

Behavior seems to be correct, code looks good, mario exported properly with the needed revert commands PLUS this removed an unnecessary revert in the switch root, awesome work!

@Lilaa3 Lilaa3 merged commit 1d2e6ae into Fast-64:main May 28, 2024
1 check passed
@jesusyoshi54 jesusyoshi54 deleted the switchnode_revert_fixes branch June 7, 2024 22:34
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