Moved things around for packaging on Blender extensions
This commit is contained in:
12
psk/export/ui.py
Normal file
12
psk/export/ui.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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,
|
||||
)
|
||||
Reference in New Issue
Block a user