Skip to content

Commit

Permalink
Register WireframeColor (#10486)
Browse files Browse the repository at this point in the history
This makes it usable via reflection by adding its data to the
`TypeRegistry`.
  • Loading branch information
SludgePhD authored Nov 12, 2023
1 parent 51180f8 commit 39c8998
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_pbr/src/wireframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ impl Plugin for WireframePlugin {
app.register_type::<Wireframe>()
.register_type::<NoWireframe>()
.register_type::<WireframeConfig>()
.register_type::<WireframeColor>()
.init_resource::<WireframeConfig>()
.add_plugins(MaterialPlugin::<WireframeMaterial>::default())
.add_systems(Startup, setup_global_wireframe_material)
Expand Down

0 comments on commit 39c8998

Please sign in to comment.