Skip to content

Commit

Permalink
Fix a typo in DirectionalLightBundle (bevyengine#9861)
Browse files Browse the repository at this point in the history
# Objective

Fix a typo introduced by bevyengine#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.
  • Loading branch information
JoJoJet authored and Ray Redondo committed Jan 9, 2024
1 parent fa1e815 commit f6633aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_pbr/src/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

0 comments on commit f6633aa

Please sign in to comment.