mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 07:28:38 +00:00
Fix #4773. Bug where two materials that shared a style would cause the Blender <-> IFC link to break
This commit is contained in:
@@ -222,7 +222,7 @@ class IfcStore:
|
|||||||
elif existing_obj:
|
elif existing_obj:
|
||||||
try:
|
try:
|
||||||
existing_obj.name
|
existing_obj.name
|
||||||
IfcStore.unlink_element(obj=existing_obj)
|
IfcStore.unlink_element(element=element, obj=existing_obj)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
IfcStore.id_map[element.id()] = obj
|
IfcStore.id_map[element.id()] = obj
|
||||||
|
|||||||
Reference in New Issue
Block a user