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

IsDirty Now Checks BRSAR Files for Changes #49

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

QuickLava
Copy link
Contributor

Fixes an issue which prevented certain changes in BRSAR files (eg. changing sound params) from flagging the RSAR node as dirty, preventing those changes from being saved.

This happens because the ResourceNode IsDirty check only looks at proper node children, ignoring the RSAR's Files list, which is where the changes being ignored are located.

Giving the RSAR node an override for the IsDirty check which does check the Files list fixes the problem.

Fixes an issue which prevented certain changes in BRSAR files (eg. changing sound params) from flagging the RSAR node as dirty, preventing those changes from being saved.

This happens because the ResourceNode IsDirty check only looks at proper node children, ignoring the RSAR's Files list, which is where the changes being ignored are located.

Giving the RSAR node an override for the IsDirty check which does check the Files list fixes the problem.
@soopercool101 soopercool101 merged commit bceaf15 into soopercool101:master Aug 3, 2022
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