fix(canvas): 导演台构建 - 修复角色与参考视频类型错误

This commit is contained in:
ddCat committed 2026-08-05 23:19:16 +08:00
1 parent e798908598
commit cf367745d6
4 files changed
+8 -32

No files matched your search

@@ -45,7 +45,7 @@ export function createDirectorObject(primitive: DirectorObject["primitive"] = "b
};
}
export function createDirectorActor(name = "演员", position: DirectorVec3 = [0, 0, 0], color = DIRECTOR_ACTOR_COLORS[0]): DirectorObject {
export function createDirectorActor(name = "演员", position: DirectorVec3 = [0, 0, 0], color: string = DIRECTOR_ACTOR_COLORS[0]): DirectorObject {
return {
...createDirectorObject("box", name, position, color),
kind: "actor",