auto-git:
[change] src/document/scene-document-validation.ts
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user