convert_to_blender to also unlink blender material from ifc material

This commit is contained in:
Andrej730
2024-05-30 17:38:14 +05:00
parent c7830e9e5b
commit a57e063c14
@@ -93,7 +93,8 @@ class ConvertToBlender(bpy.types.Operator):
if obj.data:
obj.data.BIMMeshProperties.ifc_definition_id = 0
for material in bpy.data.materials:
material.BIMMaterialProperties.ifc_style_id = False
material.BIMObjectProperties.ifc_definition_id = 0
material.BIMMaterialProperties.ifc_style_id = 0
context.scene.BIMProperties.ifc_file = ""
context.scene.BIMDebugProperties.attributes.clear()
IfcStore.purge()