功能修复
This commit is contained in:
1 parent
fed1015849
commit
bae179eb93
13 files changed
+274
-81
No files matched your search
@@ -78,6 +78,13 @@ const source = `
|
||||
failures++
|
||||
console.error('骨骼池复用:死亡/复用边界应写阶跃关键帧,实际为 ' + JSON.stringify(poolStepped))
|
||||
}
|
||||
const limitedResult = buildSpineJson({ systems: [poolSystem], timeline, settings: poolSettings, playbackEnd: 4 })
|
||||
const limitedFramesAt = limitedResult.json.animations.animation.bones.verify_0.translate
|
||||
.map((key) => Math.round(key.time * 30))
|
||||
if (JSON.stringify(limitedFramesAt) !== JSON.stringify([0, 4])) {
|
||||
failures++
|
||||
console.error('导出范围:不应写出实际播放末端之后的关键帧,实际为 ' + JSON.stringify(limitedFramesAt))
|
||||
}
|
||||
|
||||
// 子发射器的帧从父事件时刻才开始,不能按自身生命周期从 0f 截断。
|
||||
const childFrames = Array.from({ length: 80 }, (_, frame) => (
|
||||
|
||||
Reference in new issue
Block a user