diff --git a/crates/bevy_animation/src/lib.rs b/crates/bevy_animation/src/lib.rs index 7be80d204ebff..470c97d80f1a1 100644 --- a/crates/bevy_animation/src/lib.rs +++ b/crates/bevy_animation/src/lib.rs @@ -2,21 +2,16 @@ #![warn(missing_docs)] -use std::ops::Deref; - use bevy_app::{App, CoreStage, Plugin}; use bevy_asset::{AddAsset, Assets, Handle}; -use bevy_core::{EntityPath, Name, NameLookup}; use bevy_ecs::{ change_detection::DetectChanges, entity::Entity, prelude::Component, - query::QueryEntityError, reflect::ReflectComponent, schedule::ParallelSystemDescriptorCoercion, - system::{Query, Res, SystemParam}, + system::{Query, Res}, }; -use bevy_hierarchy::Children; use bevy_math::{Quat, Vec3}; use bevy_reflect::{Reflect, TypeUuid}; use bevy_time::Time; @@ -170,10 +165,10 @@ impl AnimationPlayer { pub fn animation_player( time: Res