Skip to content

Conversation

@SiboVG
Copy link
Member

@SiboVG SiboVG commented Jan 25, 2025

This PR fixes #2660. When the parent of a MassObject (parachute, streamer, shock cord, mass component) has a max inner radius of 0 (e.g. when a body tube is filled), the autoRadius feature is bypassed. Additionally, there is a general sanity check in DoubleSetter to verify that the double value is valid (not infinite or NaN). If it is invalid, it is ignored and a warning is shown when opening the .ork file. Finally, when the auto radius is 0, the auto length value is not based on the auto radius.

@SiboVG SiboVG merged commit 2481689 into openrocket:unstable Jan 29, 2025
1 check passed
@SiboVG SiboVG deleted the issue-2660 branch January 29, 2025 10:47
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.

[Bug] Exception when opening this file + stackoverflow when setting parachute to automatic for filled parent

1 participant