1
0
mirror of https://github.com/DarklightGames/io_scene_psk_psa.git synced 2025-02-17 18:19:15 +01:00

13 lines
327 B
Python

from bpy.types import UIList
class PSK_UL_materials(UIList):
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
row = layout.row()
row.prop(item.material, 'name', text='', emboss=False, icon_value=layout.icon(item.material))
classes = (
PSK_UL_materials,
)