mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
convert_to_blender to also unlink blender material from ifc material
This commit is contained in:
@@ -93,7 +93,8 @@ class ConvertToBlender(bpy.types.Operator):
|
|||||||
if obj.data:
|
if obj.data:
|
||||||
obj.data.BIMMeshProperties.ifc_definition_id = 0
|
obj.data.BIMMeshProperties.ifc_definition_id = 0
|
||||||
for material in bpy.data.materials:
|
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.BIMProperties.ifc_file = ""
|
||||||
context.scene.BIMDebugProperties.attributes.clear()
|
context.scene.BIMDebugProperties.attributes.clear()
|
||||||
IfcStore.purge()
|
IfcStore.purge()
|
||||||
|
|||||||
Reference in New Issue
Block a user