mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
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:
@@ -22,11 +22,12 @@ from typing import Any, Optional, Literal
|
||||
|
||||
|
||||
SURFACE_STYLE_TYPES = Literal[
|
||||
"IfcExternallyDefinedSurfaceStyle",
|
||||
"IfcSurfaceStyleShading",
|
||||
"IfcSurfaceStyleRendering",
|
||||
"IfcSurfaceStyleWithTextures",
|
||||
"IfcSurfaceStyleLighting",
|
||||
"IfcSurfaceStyleRefraction",
|
||||
"IfcSurfaceStyleShading",
|
||||
"IfcSurfaceStyleWithTextures",
|
||||
"IfcExternallyDefinedSurfaceStyle",
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user