Fix: facade gardens: restore forgottne rendering

This commit is contained in:
Pieter Vander Vennet 2023-11-12 13:03:07 +01:00
parent daf6956f9d
commit f8fa1841e4
4 changed files with 86 additions and 10 deletions

View file

@ -1062,6 +1062,9 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
)
}
if (!(json.pointRendering?.length > 0)) {
context.enter("pointRendering").err("There are no pointRenderings at all")
}
if (json.presets?.length > 0) {
if (!(json.pointRendering?.length > 0)) {
context.enter("presets").warn("A preset is defined, but there is no pointRendering")