Fix possibility of adding new invalid surface styles

1) Add default values for new IfcSurfaceStyleLighting so they won't appear invalid.
2) Temporarily disable starting surface style with a texture style since it requires additional texture UI to be exposed or some default texture to be assigned to keep it valid.
This commit is contained in:
Andrej730
2025-02-28 18:06:33 +05:00
parent c81fe97cc2
commit db52e70121
2 changed files with 34 additions and 17 deletions
@@ -22,11 +22,12 @@ from typing import Any, Optional, Literal
SURFACE_STYLE_TYPES = Literal[
"IfcExternallyDefinedSurfaceStyle",
"IfcSurfaceStyleShading",
"IfcSurfaceStyleRendering",
"IfcSurfaceStyleWithTextures",
"IfcSurfaceStyleLighting",
"IfcSurfaceStyleRefraction",
"IfcSurfaceStyleShading",
"IfcSurfaceStyleWithTextures",
"IfcExternallyDefinedSurfaceStyle",
]