fix: 优化空格播放和截图角色标签对不上
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { expect, it } from "vitest";
|
||||
import type { SceneSettings } from "../schema/directorProject";
|
||||
import { DEFAULT_GROUND_COLOR, type SceneSettings } from "../schema/directorProject";
|
||||
import { getSceneGroupTransform } from "./sceneTransform";
|
||||
|
||||
function createScene(patch: Partial<SceneSettings> = {}): SceneSettings {
|
||||
@@ -11,8 +11,10 @@ function createScene(patch: Partial<SceneSettings> = {}): SceneSettings {
|
||||
panoramaYaw: 0,
|
||||
panoramaRadius: 60,
|
||||
showLabels: true,
|
||||
captureShowGrid: false,
|
||||
snapToGrid: false,
|
||||
showGround: true,
|
||||
groundColor: DEFAULT_GROUND_COLOR,
|
||||
groundOpacity: 0.4,
|
||||
groundHeight: 0,
|
||||
...patch,
|
||||
|
||||
Reference in New Issue
Block a user