Any
/
vae
/com3d
/[CM3D2]English Mod Tools Pack
/CM3D2 Converter (English)
/misc_IMAGE_PT_image_properties.py
# 「UV/画像エディター」エリア → プロパティ → 「画像」パネル | |
import os, re, sys, bpy, time, bmesh, mathutils | |
from . import common | |
# メニュー等に項目追加 | |
def menu_func(self, context): | |
if 'edit_image' in dir(context): | |
img = context.edit_image | |
if 'cm3d2_path' in img: | |
box = self.layout.box() | |
box.label(text="For CM3D2", icon_value=common.preview_collections['main']['KISS'].icon_id) | |
box.prop(img, '["cm3d2_path"]', icon='ANIM_DATA', text="Internal Path") | |