mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 11:42:45 +00:00
Swapping a Blender material for another is now auto synchronised.
This commit is contained in:
@@ -224,6 +224,10 @@ class Geometry(blenderbim.core.tool.Geometry):
|
||||
def link(cls, element, obj):
|
||||
obj.BIMMeshProperties.ifc_definition_id = element.id()
|
||||
|
||||
@classmethod
|
||||
def record_object_materials(cls, obj):
|
||||
obj.data.BIMMeshProperties.material_checksum = str([s.id() for s in cls.get_styles(obj) if s])
|
||||
|
||||
@classmethod
|
||||
def record_object_position(cls, obj):
|
||||
# These are recorded separately because they have different numerical tolerances
|
||||
|
||||
Reference in New Issue
Block a user