copy icon in the material buttons list view so you can copy the current set of materials to other selected objects, (like Ctrl+L, Materials in 2.4x)

This commit is contained in:
Campbell Barton
2009-10-07 16:32:55 +00:00
parent df63ccd904
commit 763358fe91
6 changed files with 61 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ class MATERIAL_PT_context_material(MaterialButtonsPanel):
col = row.column(align=True)
col.itemO("object.material_slot_add", icon='ICON_ZOOMIN', text="")
col.itemO("object.material_slot_remove", icon='ICON_ZOOMOUT', text="")
col.itemO("object.material_slot_copy", icon='ICON_COPYDOWN', text="")
if ob.mode == 'EDIT':
row = layout.row(align=True)