Mark task completion for extending LoadedModelAsset with animation clips

This commit is contained in:
2026-03-31 23:58:06 +02:00
parent 57527efb0b
commit 602b38cb43

View File

@@ -23,7 +23,7 @@ Implement animation playback for imported GLB/GLTF assets in vertical slice orde
- Generate pairs of instances differing only in `animationClipName` or `animationAutoplay`; assert `areModelInstancesEqual` returns false
- **Validates: Requirements 2.9**
- [-] 2. Extend `LoadedModelAsset` with animation clips
- [x] 2. Extend `LoadedModelAsset` with animation clips
- Add `animations: AnimationClip[]` to the `LoadedModelAsset` interface in `src/assets/gltf-model-import.ts`
- Update `createLoadedModelAsset` to accept and store `gltf.animations`
- Update all call sites (`importModelAssetFromFiles`, `loadModelAssetFromStorage`) to pass the clips