mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Add Cascades
to the type registry, fixing lights in glTF. (#12989)
glTF files that contain lights currently panic when loaded into Bevy, because Bevy tries to reflect on `Cascades`, which accidentally wasn't registered.
This commit is contained in:
parent
2532447dcb
commit
6003a317b8
1 changed files with 1 additions and 0 deletions
|
@ -269,6 +269,7 @@ impl Plugin for PbrPlugin {
|
|||
app.register_asset_reflect::<StandardMaterial>()
|
||||
.register_type::<AmbientLight>()
|
||||
.register_type::<CascadeShadowConfig>()
|
||||
.register_type::<Cascades>()
|
||||
.register_type::<CascadesVisibleEntities>()
|
||||
.register_type::<ClusterConfig>()
|
||||
.register_type::<CubemapVisibleEntities>()
|
||||
|
|
Loading…
Reference in a new issue