mirror of
https://github.com/bevyengine/bevy
synced 2024-12-18 17:13:10 +00:00
box shadows comment fix (#16729)
# Objective Fix this comment in `extract_shadows`: ``` // Skip invisible images ``` Should be shadows, not images.
This commit is contained in:
parent
99b6f1d330
commit
d6ebc0ed4a
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ pub fn extract_shadows(
|
|||
continue;
|
||||
};
|
||||
|
||||
// Skip invisible images
|
||||
// Skip if no visible shadows
|
||||
if !view_visibility.get() || box_shadow.is_empty() || uinode.is_empty() {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue