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

chore: use ExtractComponent derive macro for EnvironmentMapLight and FogSettings #10191

Merged

Conversation

jancespivo
Copy link
Contributor

I've done tiny cleanup when playing with code.

Solution

derive macro with extract_component_filter attribute generate the same code I removed.

Migration Guide

No migration needed

@jancespivo jancespivo marked this pull request as ready for review October 19, 2023 19:59
@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change labels Oct 19, 2023
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Oct 19, 2023
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Oct 19, 2023
Merged via the queue into bevyengine:main with commit dcc3512 Oct 19, 2023
24 checks passed
ameknite pushed a commit to ameknite/bevy that referenced this pull request Nov 6, 2023
…FogSettings (bevyengine#10191)

I've done tiny cleanup when playing with code.

## Solution

[derive
macro](https:/bevyengine/bevy/blob/main/crates/bevy_render/macros/src/extract_component.rs)
with `extract_component_filter` attribute generate the same code I
removed.

## Migration Guide

No migration needed
rdrpenguin04 pushed a commit to rdrpenguin04/bevy that referenced this pull request Jan 9, 2024
…FogSettings (bevyengine#10191)

I've done tiny cleanup when playing with code.

## Solution

[derive
macro](https:/bevyengine/bevy/blob/main/crates/bevy_render/macros/src/extract_component.rs)
with `extract_component_filter` attribute generate the same code I
removed.

## Migration Guide

No migration needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants