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
@ -123,7 +123,7 @@ pub struct DirectionalLightBundle {
|
|||||||
/// Enables or disables the light
|
/// Enables or disables the light
|
||||||
pub visibility: Visibility,
|
pub visibility: Visibility,
|
||||||
/// Inherited visibility of an entity.
|
/// 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
|
/// Algorithmically-computed indication of whether an entity is visible and should be extracted for rendering
|
||||||
pub view_visibility: ViewVisibility,
|
pub view_visibility: ViewVisibility,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user