mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
Fix #3469. Minor regression in linking refactor.
This commit is contained in:
@@ -193,7 +193,7 @@ class IfcStore:
|
|||||||
# Please use tool.Ifc.link() instead of this method. We want to
|
# Please use tool.Ifc.link() instead of this method. We want to
|
||||||
# refactor this class and deprecate usage of IfcStore in favour of
|
# refactor this class and deprecate usage of IfcStore in favour of
|
||||||
# tools.
|
# tools.
|
||||||
if isinstance(obj, bpy.types.Mesh):
|
if not isinstance(obj, (bpy.types.Object, bpy.types.Material)):
|
||||||
obj.BIMMeshProperties.ifc_definition_id = element.id()
|
obj.BIMMeshProperties.ifc_definition_id = element.id()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user