auto-git:

[change] src/document/scene-document-validation.ts
This commit is contained in:
2026-04-22 12:28:52 +02:00
parent 71d8a19f22
commit e7ad933895

View File

@@ -724,9 +724,21 @@ function validateWorldSettings(
function validateWorldTimePhaseProfile(
profile: WorldTimePhaseProfile,
diagnostics: SceneDiagnostic[],
document: SceneDocument | ProjectDocument,
path: string,
label: string
) {
validateWorldBackgroundSettings(
profile.background,
document,
diagnostics,
`${path}.background`,
`${label} background`,
{
allowEmptyImageAssetId: true
}
);
if (!isHexColorString(profile.skyTopColorHex)) {
diagnostics.push(
createDiagnostic(