Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert system set to base set to fix bug with egui feature #15

Merged
merged 1 commit into from
May 6, 2023

Conversation

Plonq
Copy link
Owner

@Plonq Plonq commented May 6, 2023

Fixes #14

I found that when the exit condition was set to OnPrimaryClosed, as soon as the run condition returned false, the check_egui_wants_focus system stopped executing. I can see how this makes sense, because the system was set to run before PanOrbitCameraSystemSet which is now not running. But I am not sure if that's actually how Bevy works. Additionally, it does run regardless if OnAllClosed exit condition is used. Whatever the cause may be, using a base set instead works as expected. Base sets are also the only example of system sets I can find in the official examples, which may hint at something...

@Plonq Plonq changed the title Convert system set to base set to fix issue Convert system set to base set to fix bug with egui feature May 6, 2023
@Plonq Plonq merged commit 2ff0130 into master May 6, 2023
@Plonq Plonq deleted the fix-system-set-bug branch May 6, 2023 05:32
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.

egui feature will not work if default plugin sets exit_condition
1 participant