Skip to content

[Bug] Simulations aren't saved with up-wind/down-wind flag #2802

@JoePfeiffer

Description

@JoePfeiffer

Describe the bug

There is a flag present in simulation launch conditions that either restricts lanch rod direction to directly upwind or downwind, or allows the user to specify a launch rod direction. When the .ork file is saved, this flag is not saved with it. When the .ork file is next opened, the flag value in the Preferences is used instead of the value in the simulation.

To Reproduce

  1. Create a simulation. Make sure the "Always launch directly up-wind or down-wind" box is not checked. Save the simulation.
  2. Looking at the saved .ork file with a text editor, observe that there is no element in the simulation for this flag.
  3. Set the flag in the program preferences
  4. Read the .ork file.
  5. Observe that the flag is now set iin the simulation launch conditions.
    ...

Screenshots / .ork file

Screenshot(s):

(drag-and-drop the screenshot(s) here)

.ork file:

(drag-and-drop the file here as a .zip file)

OpenRocket version

24.12.RC.01, current unstable; I haven't looked at older versions but I expect it's been there all along

What platform are you running on?

Linux

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issueGood issue for first time contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions