Skip to content

Conversation

@JoePfeiffer
Copy link
Contributor

It turned out the old code never loaded sim summary data; the one row I thought had done so in the original bug report had actually been automatically re-run when I loaded the sim (which may be a bug itself, but if it is it isn't the same bug)

This PR fixes it by:

  1. Any time you've got flight data, load it (primary problem with the old code was it wouldn't load summary data if there was no detailed data)
  2. Mark simulation as LOADED if came from a file. Previously had logic based both on that and the status tag saved with the simulation.
  3. Show LOADED simulations using same icon as external data in the simulation panel.

Note this doesn't address the desire to change the wording of the "save primary figures" option in the data save dialog. That will come when I fix #2024.

Fixes #2067

…ED if it has data, and NOT_SIMULATED if it doesn't. This is more reliable than the status attributed, as that gets saved as notsimulated when only summary data is saved.

Also clean up logic in Simulation constructor a bit,
… from

external sources -- do we actually have a way to load data from external sources?) and appropriate tooltip
@JoePfeiffer JoePfeiffer merged commit 91038c3 into openrocket:unstable Feb 26, 2023
@JoePfeiffer JoePfeiffer deleted the fix-2067 branch July 3, 2023 22:17
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] When summary data is saved for sims, reading the .ork doesn't always pick it up. Get rid of option to save subset of simulation data

1 participant