Prevent copying globalids to selected objects as it makes no sense

This commit is contained in:
Dion Moult
2025-01-30 17:46:23 +11:00
parent e435863500
commit 8f78fe56de
+1 -2
View File
@@ -110,8 +110,7 @@ def draw_attribute(
if attribute.name == "GlobalId":
layout.operator("bim.generate_global_id", icon="FILE_REFRESH", text="")
if copy_operator:
elif copy_operator:
op = layout.operator(f"{copy_operator}", text="", icon="COPYDOWN")
op.name = attribute.name