auto-git:

[change] src/document/world-settings.ts
This commit is contained in:
2026-04-22 12:33:56 +02:00
parent fd13d0dcfe
commit 59997e16e9

View File

@@ -528,7 +528,8 @@ export function changeWorldBackgroundMode(
background: WorldBackgroundSettings, background: WorldBackgroundSettings,
mode: WorldBackgroundMode, mode: WorldBackgroundMode,
imageAssetId?: string, imageAssetId?: string,
imageEnvironmentIntensity = DEFAULT_TIME_PHASE_IMAGE_ENVIRONMENT_INTENSITY imageEnvironmentIntensity: number =
DEFAULT_TIME_PHASE_IMAGE_ENVIRONMENT_INTENSITY
): WorldBackgroundSettings { ): WorldBackgroundSettings {
if (mode === "image") { if (mode === "image") {
if (imageAssetId === undefined || imageAssetId.trim().length === 0) { if (imageAssetId === undefined || imageAssetId.trim().length === 0) {