From d2dc8b519fddd2be2fdd3a859f1b3415b5eb5578 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 21 Aug 2024 14:56:25 +0500 Subject: [PATCH] fix for ef835e43b8 --- src/bonsai/bonsai/tool/style.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bonsai/bonsai/tool/style.py b/src/bonsai/bonsai/tool/style.py index 7ca8f4a4e9..6f1690a7e5 100644 --- a/src/bonsai/bonsai/tool/style.py +++ b/src/bonsai/bonsai/tool/style.py @@ -460,9 +460,7 @@ class Style(bonsai.core.tool.Style): return style_elements.get("IfcExternallyDefinedSurfaceStyle", None) @classmethod - def get_surface_shading_attributes( - cls, blender_material_or_style: Union[bpy.types.Material, ifcopenshell.entity_instance] - ) -> dict[str, Any]: + def get_surface_shading_attributes(cls, obj: bpy.types.Material) -> dict[str, Any]: data = { "SurfaceColour": { "Name": None,