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 loud white nosie after mouse steering #5812

Merged
merged 2 commits into from Apr 27, 2024

Conversation

neumond
Copy link
Contributor

@neumond neumond commented Apr 3, 2024

Fix #5804

@pcercuei
Copy link
Contributor

pcercuei commented Apr 5, 2024

I can confirm, it fixes the problem. Thank you!

@impaktor impaktor changed the title Fix #5804 Fix loud white nosie after mouse steering Apr 11, 2024
@impaktor
Copy link
Member

@Web-eWorks Do you want to review code before merge?

@Web-eWorks
Copy link
Member

Yes, will give this a review in the next few days. I've been very busy recently and sadly haven't gotten a chance to review any of the new PRs yet.

@@ -67,6 +67,11 @@ DynamicBody::DynamicBody(const Json &jsonObj, Space *space) :
throw SavedGameCorruptException();
}

// fix saves with nans
Copy link
Member

Choose a reason for hiding this comment

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

I'd recommend this comment be annotated with the current savefile version (see Game.cpp) so that the workaround can be removed when the next savebump occurs.

Copy link
Member

Choose a reason for hiding this comment

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

I think we used to add "todo" notes to SAVEBUMP.txt as well, things to fix for next release, so that might be a good idea.
I should add "checking SAVEBUMP.txt" to the release guide, if we think this is a good strategy?

Copy link
Member

Choose a reason for hiding this comment

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

That would be a good idea on both counts; this definitely deserves to be in the SAVEBUMP.txt file as well.

@Web-eWorks
Copy link
Member

Other than the requested change, the code looks good - thanks for the fix!

@Web-eWorks
Copy link
Member

Web-eWorks commented Apr 27, 2024

I've pushed the required documentation changes to this PR's branch - thanks for the contribution!

@Web-eWorks Web-eWorks merged commit ef183ff into pioneerspacesim:master Apr 27, 2024
5 checks passed
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.

Extremely LOUD white noise until game exit after mouse steering
4 participants