remove name update for ifc materials based on blender materials name #4843

This commit is contained in:
Andrej730
2024-06-14 16:56:06 +05:00
parent 114fca8be5
commit f3f1e8721c
-2
View File
@@ -51,8 +51,6 @@ def name_callback(obj, data):
return
if isinstance(obj, bpy.types.Material):
if obj.BIMObjectProperties.ifc_definition_id:
IfcStore.get_file().by_id(obj.BIMObjectProperties.ifc_definition_id).Name = obj.name
if obj.BIMMaterialProperties.ifc_style_id:
IfcStore.get_file().by_id(obj.BIMMaterialProperties.ifc_style_id).Name = obj.name
refresh_ui_data()