remove unnecessary linking in IfcImporter.create_style #4843

As it's already linked by `self.link_element(style, blender_material)`
This commit is contained in:
Andrej730
2024-06-26 12:08:05 +05:00
parent 2f81cab5f1
commit a69f3e8da9
@@ -1230,8 +1230,6 @@ class IfcImporter:
blender_material.use_fake_user = True
self.link_element(style, blender_material)
blender_material.BIMStyleProperties.ifc_definition_id = style.id()
self.material_creator.styles[style.id()] = blender_material
style_elements = tool.Style.get_style_elements(blender_material)