You can now copy classes in bulk.

This commit is contained in:
Dion Moult
2021-04-18 20:24:08 +10:00
parent 8187c75183
commit d6d70af5a0
@@ -39,7 +39,7 @@ class BIM_PT_class(Panel):
name += "[{}]".format(data["PredefinedType"])
row = self.layout.row(align=True)
row.label(text=name)
row.operator("bim.copy_class", icon="DUPLICATE", text="").obj = context.active_object.name
row.operator("bim.copy_class", icon="DUPLICATE", text="")
row.operator("bim.unlink_object", icon="UNLINKED", text="")
row.operator("bim.enable_reassign_class", icon="GREASEPENCIL", text="")
if context.selected_objects: