mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
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:
parent
bb281cfa2b
commit
8aa84babee
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue