diff --git a/crates/bevy_light/src/lib.rs b/crates/bevy_light/src/lib.rs index 655171da63..8a8fe5ce2c 100644 --- a/crates/bevy_light/src/lib.rs +++ b/crates/bevy_light/src/lib.rs @@ -201,8 +201,8 @@ impl Plugin for LightPlugin { pub type WithLight = Or<(With, With, With)>; /// Add this component to make a [`Mesh3d`] not cast shadows. -#[derive(Debug, Component, Reflect, Default)] -#[reflect(Component, Default, Debug)] +#[derive(Debug, Component, Reflect, Default, Clone, PartialEq)] +#[reflect(Component, Default, Debug, Clone, PartialEq)] pub struct NotShadowCaster; /// Add this component to make a [`Mesh3d`] not receive shadows. ///