From f3632b059d5dde7e106d2800450101c65e3e039e Mon Sep 17 00:00:00 2001 From: Lee-Orr Date: Mon, 18 Mar 2024 16:50:40 -0400 Subject: [PATCH] update animations when transform or time changes --- studio/src/anim/timeline_animation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/src/anim/timeline_animation.rs b/studio/src/anim/timeline_animation.rs index 940bfb0..95dde1c 100644 --- a/studio/src/anim/timeline_animation.rs +++ b/studio/src/anim/timeline_animation.rs @@ -290,7 +290,7 @@ fn process_keyframe_events( fn generate_transform_animation( mut commands: Commands, - changed: Query<&Keyframe, (With, Changed)>, + changed: Query<&Keyframe, (With, Or<(Changed, Changed)>)>, keyframes: Query<(&Keyframe, &Transform, &TransformKeyframe, Entity), Without>, removed: Query<&Keyframe, With>, ) {