Skip to content

Conversation

@panpanpro888
Copy link
Contributor

Objective

Solution

  • Use argh to check if you passed a scene name, and if you did, start on that one instead of the default

Testing

  • Tested on my local machine, I don't see a reason why it would change between different machines and/or platforms

Copy link
Contributor

@apekros apekros left a comment

Choose a reason for hiding this comment

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

We can simplify the match statements

panpanpro888 and others added 3 commits December 22, 2025 14:33
Co-authored-by: Bayley Foster <43776524+apekros@users.noreply.github.com>
Co-authored-by: Bayley Foster <43776524+apekros@users.noreply.github.com>
Co-authored-by: Bayley Foster <43776524+apekros@users.noreply.github.com>
@panpanpro888
Copy link
Contributor Author

I had a different solution at first that's why it ended up like that, sorry!

"DebugOutlines",
"ViewportCoords",
]
.join("\n\t")
Copy link
Contributor

Choose a reason for hiding this comment

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

It might be nice to add a reminder if #[cfg(not(feature = “bevy_ui_debug”))] saying something like “To be able to view the DebugOutlines scene, enable the bevy_ui_debug feature via --features=bevy_ui_debug

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.

Add commandline options to the testbed_* examples to choose the starting scene

3 participants