mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
See #3016. Scene shading styles are now stored as part of the drawing style.
This commit is contained in:
@@ -1705,9 +1705,6 @@ class ActivateDrawingStyle(bpy.types.Operator, Operator):
|
||||
except:
|
||||
# Differences in Blender versions mean result in failures here
|
||||
print("Failed to set shading style {path} to {value}")
|
||||
shading_type = style.get("scene.display.shading.type", None)
|
||||
if shading_type:
|
||||
space.shading.type = shading_type
|
||||
|
||||
def set_query(self, context):
|
||||
self.include_global_ids = []
|
||||
|
||||
@@ -297,6 +297,7 @@ class RasterStyleProperty(enum.Enum):
|
||||
SHADING = "scene.display.shading"
|
||||
DISPLAY = "scene.display"
|
||||
OVERLAY = "space.overlay"
|
||||
SPACE_SHADING = "space.shading"
|
||||
|
||||
|
||||
RASTER_STYLE_PROPERTIES_EXCLUDE = (
|
||||
|
||||
Reference in New Issue
Block a user