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

This commit is contained in:
ddCat
2026-08-05 23:19:16 +08:00
parent 4e5f255a4c
commit 706fd21a31
4 changed files with 8 additions and 32 deletions

View File

@@ -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",