Skip to content

[Bug] Disabling sustainer on single stage rocket has no effect #2437

@JoePfeiffer

Description

@JoePfeiffer

Describe the bug

When we disable all of the stages in a rocket and simulate it, the simulation should raise an exception. This works correctly for rockets with more than a single stage; a single stage rocket simulates successfully.

To Reproduce

  1. Open "Simple Model Rocket" example
  2. Disable sustainer. Rocket disappears from design window
  3. Run first simulation. Simulation runs successfullly

Compare with the result of

  1. Open "Two Stage Rocket" example
  2. Disable both stages. Rocket disappears from design window
  3. Run first simulation. Simulation throws an exception.

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

23.09, unstable. Haven't checked 22.02.

What platform are you running on?

Linux

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions