Register bevy_animation::PlayingAnimation (#9023)

# Objective

`bevy_animation::PlayingAnimation` derives `Reflect` but is not
registered.

## Solution

Register `bevy_animation::PlayingAnimation`.
This commit is contained in:
pyrotechnick 2023-07-05 07:49:53 +10:00 committed by GitHub
parent bb281cfa2b
commit 8aa84babee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -606,6 +606,7 @@ impl Plugin for AnimationPlugin {
app.add_asset::<AnimationClip>() app.add_asset::<AnimationClip>()
.register_asset_reflect::<AnimationClip>() .register_asset_reflect::<AnimationClip>()
.register_type::<AnimationPlayer>() .register_type::<AnimationPlayer>()
.register_type::<PlayingAnimation>()
.add_systems( .add_systems(
PostUpdate, PostUpdate,
animation_player.before(TransformSystem::TransformPropagate), animation_player.before(TransformSystem::TransformPropagate),