Register AlphaMode type (#9222)

# Objective

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

## Solution

- `app.register_type::<AlphaMode>()`
This commit is contained in:
Sludge 2023-07-20 23:26:03 +02:00 committed by GitHub
parent b7cda3293f
commit 9b92de9e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>()