mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Profiles, Materials UI - indicate in UI currently edited element
This commit is contained in:
@@ -431,6 +431,8 @@ class BIM_UL_materials(UIList):
|
||||
row.prop(item, "name", text="", emboss=False)
|
||||
else:
|
||||
row.label(text="", icon="BLANK1")
|
||||
if item.ifc_definition_id == data.active_material_id:
|
||||
row.label(text="", icon="GREASEPENCIL")
|
||||
if material_type == "IfcMaterialList":
|
||||
row.label(text=item.name, icon="MATERIAL")
|
||||
else:
|
||||
|
||||
@@ -146,5 +146,7 @@ class BIM_UL_profiles(UIList):
|
||||
):
|
||||
if item:
|
||||
row = layout.row(align=True)
|
||||
if item.ifc_definition_id == data.active_profile_id:
|
||||
row.label(text="", icon="GREASEPENCIL")
|
||||
row.prop(item, "name", text="", emboss=False)
|
||||
row.label(text=item.ifc_class)
|
||||
|
||||
Reference in New Issue
Block a user