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

Fix Option Save #403

Merged
merged 1 commit into from
Jan 7, 2024
Merged

Fix Option Save #403

merged 1 commit into from
Jan 7, 2024

Conversation

GLS-SSV
Copy link
Contributor

@GLS-SSV GLS-SSV commented Jan 6, 2024

Options in Visual settings and Physics settings pages were not being immediately saved, which caused any changes to be lost when changing to another options page. This PR should fix that issue, and also adds logic to disable the Planet night light level text box when Planet night lights are disabled, and also disable the terrain interpolation combo box when Surface elevation is disabled.

BEWARE: I'm using VS2017 and cannot compile the latest version of the code, so this was only tested in a 1 year+ old code version. I think it should work fine and not need any further work but still, it should be well tested in the latest code before merging.

@n7275
Copy link
Contributor

n7275 commented Jan 6, 2024 via email

@n7275
Copy link
Contributor

n7275 commented Jan 6, 2024

I rebased against upstream/Main and build on VS2022. No issues with the build, and the feature works as advertised. Approved!

@jarmonik jarmonik merged commit 9d750f4 into orbitersim:main Jan 7, 2024
3 checks passed
@GLS-SSV GLS-SSV deleted the fixoptionsave branch September 25, 2024 19:56
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.

3 participants