From 87f7d013c0d4f45a93a4c29e5d48237f4b512ca2 Mon Sep 17 00:00:00 2001 From: Joseph <21144246+JoJoJet@users.noreply.github.com> Date: Tue, 19 Sep 2023 21:44:56 -0700 Subject: [PATCH] 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. --- crates/bevy_pbr/src/bundle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_pbr/src/bundle.rs b/crates/bevy_pbr/src/bundle.rs index b77ee5b071d5a..851f87bcd7466 100644 --- a/crates/bevy_pbr/src/bundle.rs +++ b/crates/bevy_pbr/src/bundle.rs @@ -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, }