Skip to content

Commit

Permalink
Reflect derived traits on all components and resources: bevy_gizmos (#…
Browse files Browse the repository at this point in the history
…15217)

Solves #15187 for bevy_gizmos
  • Loading branch information
blazepaws authored Sep 15, 2024
1 parent 2ea8d35 commit 379696a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_gizmos/src/aabb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub struct AabbGizmoConfigGroup {

/// Add this [`Component`] to an entity to draw its [`Aabb`] component.
#[derive(Component, Reflect, Default, Debug)]
#[reflect(Component, Default)]
#[reflect(Component, Default, Debug)]
pub struct ShowAabbGizmo {
/// The color of the box.
///
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_gizmos/src/light.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ impl Default for LightGizmoConfigGroup {
/// Add this [`Component`] to an entity to draw any of its lights components
/// ([`PointLight`], [`SpotLight`] and [`DirectionalLight`]).
#[derive(Component, Reflect, Default, Debug)]
#[reflect(Component, Default)]
#[reflect(Component, Default, Debug)]
pub struct ShowLightGizmo {
/// Default color strategy for this light gizmo. if [`None`], use the one provided by [`LightGizmoConfigGroup`].
///
Expand Down

0 comments on commit 379696a

Please sign in to comment.