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

Don't add EguiContext to every entity when render feature is disabled. #321

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

DGriffin91
Copy link
Contributor

When Initial world space UI support (#304) was added, the fallback query for when the render feature is disabled results in EguiContexts being added every entity in the scene.

This PR makes it so that setup_render_to_texture_handles_system only runs when the render feature is enabled.

@vladbat00
Copy link
Owner

Oooof, I'm a bit embarrassed to not have caught that :D Thank you for the fix!

@vladbat00 vladbat00 merged commit fa39656 into vladbat00:main Nov 25, 2024
39 checks passed
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.

2 participants