From 58af45f149a870215218cdca5d3137ac0280b32e Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 1 Apr 2026 00:08:02 +0200 Subject: [PATCH] Mark task completed: Implement AnimationMixer lifecycle in RuntimeHost --- .kiro/specs/animation-playback/tasks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.kiro/specs/animation-playback/tasks.md b/.kiro/specs/animation-playback/tasks.md index 2d36946c..35c9f73d 100644 --- a/.kiro/specs/animation-playback/tasks.md +++ b/.kiro/specs/animation-playback/tasks.md @@ -61,7 +61,7 @@ Implement animation playback for imported GLB/GLTF assets in vertical slice orde - Create a document with a model instance that has `animationClipName` and `animationAutoplay` set; assert the built `RuntimeModelInstance` has the same values - _Requirements: 5.6_ -- [-] 5. Implement `AnimationMixer` lifecycle in `RuntimeHost` +- [x] 5. Implement `AnimationMixer` lifecycle in `RuntimeHost` - Add `animationMixers: Map` and `instanceAnimationClips: Map` private fields to `RuntimeHost` in `src/runtime-three/runtime-host.ts` - In `rebuildModelInstances`: after creating each render group, check `loadedModelAssets[assetId].animations`; if non-empty, create a mixer, store it, and start autoplay if configured - In `clearModelInstances`: call `mixer.stopAllAction()` and clear both maps before removing render objects