Skip to content

Commit

Permalink
Register AlphaMode type (#9222)
Browse files Browse the repository at this point in the history
# Objective

- `AlphaMode` derives `Reflect`, but wasn't registered with the app and
type registry

## Solution

- `app.register_type::<AlphaMode>()`
  • Loading branch information
SludgePhD authored Jul 20, 2023
1 parent b7cda32 commit 9b92de9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_pbr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ impl Plugin for PbrPlugin {
);

app.register_asset_reflect::<StandardMaterial>()
.register_type::<AlphaMode>()
.register_type::<AmbientLight>()
.register_type::<Cascade>()
.register_type::<CascadeShadowConfig>()
Expand Down

0 comments on commit 9b92de9

Please sign in to comment.