mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 21:38:12 +00:00
Fix #6367
ahh, no idea where I picked up this string during refactoring
This commit is contained in:
@@ -287,7 +287,7 @@ def get_user(ifc: ifcopenshell.file) -> Union[ifcopenshell.entity_instance, None
|
|||||||
def viewport_shading_changed_callback(area: bpy.types.Area) -> None:
|
def viewport_shading_changed_callback(area: bpy.types.Area) -> None:
|
||||||
shading = area.spaces.active.shading.type
|
shading = area.spaces.active.shading.type
|
||||||
if shading == "RENDERED":
|
if shading == "RENDERED":
|
||||||
tool.Style.get_style_props().active_style_type = "Internal"
|
tool.Style.get_style_props().active_style_type = "External"
|
||||||
|
|
||||||
|
|
||||||
def subscribe_to_viewport_shading_changes():
|
def subscribe_to_viewport_shading_changes():
|
||||||
|
|||||||
Reference in New Issue
Block a user