feat(canvas): 分镜脚本 - 关联画布资产并自动物化视频引用

This commit is contained in:
ddCat committed 2026-08-25 11:24:47 +08:00
1 parent 03597c6d51
commit 625a97560b
21 files changed
+684 -249

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ function copyStoryboardRow(row: StoryboardRow, idMap: ReadonlyMap<string, string
...character,
characterImageNodeId: remapReferenceId(character.characterImageNodeId, idMap),
})),
referenceNodeIds: remapReferenceIds(row.referenceNodeIds || [], idMap) || [],
assetBindings: (row.assetBindings || []).map((binding) => ({ ...binding, nodeId: remapReferenceId(binding.nodeId, idMap)! })),
imageNodeId,
videoNodeId,
status: hasCopiedOutput ? row.status : "idle",