Improve UX of assigning classes to multiple objects. See #1222.

This commit is contained in:
Dion Moult
2021-01-29 15:15:14 +11:00
parent 91c6fb402d
commit 4c87ea321d
3 changed files with 27 additions and 16 deletions
@@ -42,7 +42,6 @@ class BIM_PT_class(Panel):
self.draw_class_dropdowns()
row = self.layout.row(align=True)
op = row.operator("bim.assign_class")
op.obj = context.active_object.name
op.ifc_class = bpy.context.scene.BIMRootProperties.ifc_class
op.predefined_type = bpy.context.scene.BIMRootProperties.ifc_predefined_type
op.userdefined_type = bpy.context.scene.BIMRootProperties.ifc_userdefined_type