mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
Fix a typo in DirectionalLightBundle
(#9861)
# Objective Fix a typo introduced by #9497. While drafting the PR, the type was originally called `VisibleInHierarchy` before I renamed it to `InheritedVisibility`, but this field got left behind due to a typo.
This commit is contained in:
parent
7163aabf29
commit
87f7d013c0
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ pub struct DirectionalLightBundle {
|
|||
/// Enables or disables the light
|
||||
pub visibility: Visibility,
|
||||
/// Inherited visibility of an entity.
|
||||
pub visible_in_hieararchy: InheritedVisibility,
|
||||
pub inherited_visibility: InheritedVisibility,
|
||||
/// Algorithmically-computed indication of whether an entity is visible and should be extracted for rendering
|
||||
pub view_visibility: ViewVisibility,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue