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

More query filter usage #851

Merged
merged 3 commits into from
Nov 13, 2020
Merged

Conversation

MinerSebas
Copy link
Contributor

This Changes PR changes several Queries to us the With<> Filter, instead of getting the component and discarding it.

Also, parent_update_system now uses Changed<Parent>, as mentioned in its Todo comment.

@memoryruins memoryruins added the C-Code-Quality A section of code that is hard to understand or change label Nov 12, 2020
@cart
Copy link
Member

cart commented Nov 12, 2020

Good call. I'll quick verify that parent changing works as expected, then this should be good to go.

@cart
Copy link
Member

cart commented Nov 13, 2020

Yup this works as expected. Thanks!

@cart cart merged commit 43aac1a into bevyengine:master Nov 13, 2020
@MinerSebas MinerSebas deleted the More_Filter_usage branch November 13, 2020 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Code-Quality A section of code that is hard to understand or change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants