CM3D2 Converter.misc_IMAGE_HT_header

 1# 「UV/画像エディター」エリア → ヘッダー
 2from . import common
 3
 4
 5# メニュー等に項目追加
 6def menu_func(self, context):
 7    img = getattr(context, 'edit_image')
 8    if img and 'cm3d2_path' in img:
 9        self.layout.label(text="CM3D2用: 内部パス", icon_value=common.kiss_icon())
10        row = self.layout.row()
11        row.prop(img, '["cm3d2_path"]', text="")
12        row.scale_x = 3.0