diff options
author | meta-androcto <meta.androcto1@gmail.com> | 2017-05-13 13:58:12 +0300 |
---|---|---|
committer | meta-androcto <meta.androcto1@gmail.com> | 2017-05-13 13:58:12 +0300 |
commit | c56129be233e5725e55f87db539b0811103ec40b (patch) | |
tree | 90c8f6c8e08b30452af5613dbf877c7aa7cc335a | |
parent | 99da32df1a9500e8fe33360a40bd6e0cfbec1363 (diff) |
magic uv: update icons
-rw-r--r-- | uv_magic_uv/__init__.py | 22 | ||||
-rw-r--r-- | uv_magic_uv/muv_cpuv_ops.py | 16 | ||||
-rw-r--r-- | uv_magic_uv/muv_cpuv_selseq_ops.py | 8 | ||||
-rw-r--r-- | uv_magic_uv/muv_menu.py | 28 | ||||
-rw-r--r-- | uv_magic_uv/muv_preserve_uv_aspect.py | 2 | ||||
-rw-r--r-- | uv_magic_uv/muv_texproj_ops.py | 2 | ||||
-rw-r--r-- | uv_magic_uv/muv_uvbb_ops.py | 2 |
7 files changed, 40 insertions, 40 deletions
diff --git a/uv_magic_uv/__init__.py b/uv_magic_uv/__init__.py index 86227125..01779333 100644 --- a/uv_magic_uv/__init__.py +++ b/uv_magic_uv/__init__.py @@ -81,29 +81,29 @@ import bpy def view3d_uvmap_menu_fn(self, context): self.layout.separator() - self.layout.menu(muv_menu.MUV_CPUVMenu.bl_idname, icon="PLUGIN") - self.layout.operator(muv_fliprot_ops.MUV_FlipRot.bl_idname, icon="PLUGIN") - self.layout.menu(muv_menu.MUV_TransUVMenu.bl_idname, icon="PLUGIN") - self.layout.operator(muv_mvuv_ops.MUV_MVUV.bl_idname, icon="PLUGIN") - self.layout.menu(muv_menu.MUV_TexLockMenu.bl_idname, icon="PLUGIN") + self.layout.menu(muv_menu.MUV_CPUVMenu.bl_idname, icon="IMAGE_COL") + self.layout.operator(muv_fliprot_ops.MUV_FlipRot.bl_idname, icon="IMAGE_COL") + self.layout.menu(muv_menu.MUV_TransUVMenu.bl_idname, icon="IMAGE_COL") + self.layout.operator(muv_mvuv_ops.MUV_MVUV.bl_idname, icon="IMAGE_COL") + self.layout.menu(muv_menu.MUV_TexLockMenu.bl_idname, icon="IMAGE_COL") self.layout.operator( - muv_mirroruv_ops.MUV_MirrorUV.bl_idname, icon="PLUGIN") - self.layout.menu(muv_menu.MUV_WSUVMenu.bl_idname, icon="PLUGIN") + muv_mirroruv_ops.MUV_MirrorUV.bl_idname, icon="IMAGE_COL") + self.layout.menu(muv_menu.MUV_WSUVMenu.bl_idname, icon="IMAGE_COL") self.layout.operator( - muv_unwrapconst_ops.MUV_UnwrapConstraint.bl_idname, icon='PLUGIN') + muv_unwrapconst_ops.MUV_UnwrapConstraint.bl_idname, icon='IMAGE_COL') self.layout.menu( muv_preserve_uv_aspect.MUV_PreserveUVAspectMenu.bl_idname, - icon='PLUGIN') + icon='IMAGE_COL') def image_uvs_menu_fn(self, context): self.layout.separator() - self.layout.operator(muv_packuv_ops.MUV_PackUV.bl_idname, icon="PLUGIN") + self.layout.operator(muv_packuv_ops.MUV_PackUV.bl_idname, icon="IMAGE_COL") def view3d_object_menu_fn(self, context): self.layout.separator() - self.layout.menu(muv_menu.MUV_CPUVObjMenu.bl_idname, icon="PLUGIN") + self.layout.menu(muv_menu.MUV_CPUVObjMenu.bl_idname, icon="IMAGE_COL") def register(): diff --git a/uv_magic_uv/muv_cpuv_ops.py b/uv_magic_uv/muv_cpuv_ops.py index 3c5e968a..fbf1764f 100644 --- a/uv_magic_uv/muv_cpuv_ops.py +++ b/uv_magic_uv/muv_cpuv_ops.py @@ -108,13 +108,13 @@ class MUV_CPUVCopyUVMenu(bpy.types.Menu): layout.operator( MUV_CPUVCopyUV.bl_idname, text="[Default]", - icon="PLUGIN" + icon="IMAGE_COL" ).uv_map = "" for m in uv_maps: layout.operator( MUV_CPUVCopyUV.bl_idname, text=m, - icon="PLUGIN" + icon="IMAGE_COL" ).uv_map = m @@ -253,11 +253,11 @@ class MUV_CPUVPasteUVMenu(bpy.types.Menu): uv_maps = bm.loops.layers.uv.keys() layout.operator( MUV_CPUVPasteUV.bl_idname, - text="[Default]", icon="PLUGIN").uv_map = "" + text="[Default]", icon="IMAGE_COL").uv_map = "" for m in uv_maps: layout.operator( MUV_CPUVPasteUV.bl_idname, - text=m, icon="PLUGIN").uv_map = m + text=m, icon="IMAGE_COL").uv_map = m class MUV_CPUVObjCopyUV(bpy.types.Operator): @@ -327,11 +327,11 @@ class MUV_CPUVObjCopyUVMenu(bpy.types.Menu): uv_maps = bpy.context.active_object.data.uv_textures.keys() layout.operator( MUV_CPUVObjCopyUV.bl_idname, - text="[Default]", icon="PLUGIN").uv_map = "" + text="[Default]", icon="IMAGE_COL").uv_map = "" for m in uv_maps: layout.operator( MUV_CPUVObjCopyUV.bl_idname, - text=m, icon="PLUGIN").uv_map = m + text=m, icon="IMAGE_COL").uv_map = m class MUV_CPUVObjPasteUV(bpy.types.Operator): @@ -448,8 +448,8 @@ class MUV_CPUVObjPasteUVMenu(bpy.types.Menu): uv_maps = list(set(uv_maps)) layout.operator( MUV_CPUVObjPasteUV.bl_idname, - text="[Default]", icon="PLUGIN").uv_map = "" + text="[Default]", icon="IMAGE_COL").uv_map = "" for m in uv_maps: layout.operator( MUV_CPUVObjPasteUV.bl_idname, - text=m, icon="PLUGIN").uv_map = m + text=m, icon="IMAGE_COL").uv_map = m diff --git a/uv_magic_uv/muv_cpuv_selseq_ops.py b/uv_magic_uv/muv_cpuv_selseq_ops.py index f6701b83..37e9f8de 100644 --- a/uv_magic_uv/muv_cpuv_selseq_ops.py +++ b/uv_magic_uv/muv_cpuv_selseq_ops.py @@ -99,11 +99,11 @@ class MUV_CPUVSelSeqCopyUVMenu(bpy.types.Menu): uv_maps = bm.loops.layers.uv.keys() layout.operator( MUV_CPUVSelSeqCopyUV.bl_idname, - text="[Default]", icon="PLUGIN").uv_map = "" + text="[Default]", icon="IMAGE_COL").uv_map = "" for m in uv_maps: layout.operator( MUV_CPUVSelSeqCopyUV.bl_idname, - text=m, icon="PLUGIN").uv_map = m + text=m, icon="IMAGE_COL").uv_map = m class MUV_CPUVSelSeqPasteUV(bpy.types.Operator): @@ -242,8 +242,8 @@ class MUV_CPUVSelSeqPasteUVMenu(bpy.types.Menu): uv_maps = bm.loops.layers.uv.keys() layout.operator( MUV_CPUVSelSeqPasteUV.bl_idname, - text="[Default]", icon="PLUGIN").uv_map = "" + text="[Default]", icon="IMAGE_COL").uv_map = "" for m in uv_maps: layout.operator( MUV_CPUVSelSeqPasteUV.bl_idname, - text=m, icon="PLUGIN").uv_map = m + text=m, icon="IMAGE_COL").uv_map = m diff --git a/uv_magic_uv/muv_menu.py b/uv_magic_uv/muv_menu.py index 17e77cfb..fd4ef205 100644 --- a/uv_magic_uv/muv_menu.py +++ b/uv_magic_uv/muv_menu.py @@ -43,15 +43,15 @@ class MUV_CPUVMenu(bpy.types.Menu): def draw(self, _): self.layout.menu( - muv_cpuv_ops.MUV_CPUVCopyUVMenu.bl_idname, icon="PLUGIN") + muv_cpuv_ops.MUV_CPUVCopyUVMenu.bl_idname, icon="IMAGE_COL") self.layout.menu( - muv_cpuv_ops.MUV_CPUVPasteUVMenu.bl_idname, icon="PLUGIN") + muv_cpuv_ops.MUV_CPUVPasteUVMenu.bl_idname, icon="IMAGE_COL") self.layout.menu( muv_cpuv_selseq_ops.MUV_CPUVSelSeqCopyUVMenu.bl_idname, - icon="PLUGIN") + icon="IMAGE_COL") self.layout.menu( muv_cpuv_selseq_ops.MUV_CPUVSelSeqPasteUVMenu.bl_idname, - icon="PLUGIN") + icon="IMAGE_COL") class MUV_CPUVObjMenu(bpy.types.Menu): @@ -65,9 +65,9 @@ class MUV_CPUVObjMenu(bpy.types.Menu): def draw(self, _): self.layout.menu( - muv_cpuv_ops.MUV_CPUVObjCopyUVMenu.bl_idname, icon="PLUGIN") + muv_cpuv_ops.MUV_CPUVObjCopyUVMenu.bl_idname, icon="IMAGE_COL") self.layout.menu( - muv_cpuv_ops.MUV_CPUVObjPasteUVMenu.bl_idname, icon="PLUGIN") + muv_cpuv_ops.MUV_CPUVObjPasteUVMenu.bl_idname, icon="IMAGE_COL") class MUV_TransUVMenu(bpy.types.Menu): @@ -81,9 +81,9 @@ class MUV_TransUVMenu(bpy.types.Menu): def draw(self, _): self.layout.operator( - muv_transuv_ops.MUV_TransUVCopy.bl_idname, icon="PLUGIN") + muv_transuv_ops.MUV_TransUVCopy.bl_idname, icon="IMAGE_COL") self.layout.operator( - muv_transuv_ops.MUV_TransUVPaste.bl_idname, icon="PLUGIN") + muv_transuv_ops.MUV_TransUVPaste.bl_idname, icon="IMAGE_COL") class MUV_TexLockMenu(bpy.types.Menu): @@ -97,13 +97,13 @@ class MUV_TexLockMenu(bpy.types.Menu): def draw(self, _): self.layout.operator( - muv_texlock_ops.MUV_TexLockStart.bl_idname, icon="PLUGIN") + muv_texlock_ops.MUV_TexLockStart.bl_idname, icon="IMAGE_COL") self.layout.operator( - muv_texlock_ops.MUV_TexLockStop.bl_idname, icon="PLUGIN") + muv_texlock_ops.MUV_TexLockStop.bl_idname, icon="IMAGE_COL") self.layout.operator( - muv_texlock_ops.MUV_TexLockIntrStart.bl_idname, icon="PLUGIN") + muv_texlock_ops.MUV_TexLockIntrStart.bl_idname, icon="IMAGE_COL") self.layout.operator( - muv_texlock_ops.MUV_TexLockIntrStop.bl_idname, icon="PLUGIN") + muv_texlock_ops.MUV_TexLockIntrStop.bl_idname, icon="IMAGE_COL") class MUV_WSUVMenu(bpy.types.Menu): @@ -117,6 +117,6 @@ class MUV_WSUVMenu(bpy.types.Menu): def draw(self, _): self.layout.operator( - muv_wsuv_ops.MUV_WSUVMeasure.bl_idname, icon="PLUGIN") + muv_wsuv_ops.MUV_WSUVMeasure.bl_idname, icon="IMAGE_COL") self.layout.operator( - muv_wsuv_ops.MUV_WSUVApply.bl_idname, icon="PLUGIN") + muv_wsuv_ops.MUV_WSUVApply.bl_idname, icon="IMAGE_COL") diff --git a/uv_magic_uv/muv_preserve_uv_aspect.py b/uv_magic_uv/muv_preserve_uv_aspect.py index 20be23ad..0fbb820d 100644 --- a/uv_magic_uv/muv_preserve_uv_aspect.py +++ b/uv_magic_uv/muv_preserve_uv_aspect.py @@ -116,4 +116,4 @@ class MUV_PreserveUVAspectMenu(bpy.types.Menu): for key in bpy.data.images.keys(): layout.operator( MUV_PreserveUVAspect.bl_idname, - text=key, icon="PLUGIN").dest_img_name = key + text=key, icon="IMAGE_COL").dest_img_name = key diff --git a/uv_magic_uv/muv_texproj_ops.py b/uv_magic_uv/muv_texproj_ops.py index 3493b13a..08b1d919 100644 --- a/uv_magic_uv/muv_texproj_ops.py +++ b/uv_magic_uv/muv_texproj_ops.py @@ -303,7 +303,7 @@ class OBJECT_PT_TP(bpy.types.Panel): def draw_header(self, _): layout = self.layout - layout.label(text="", icon='PLUGIN') + layout.label(text="", icon='IMAGE_COL') def draw(self, context): sc = context.scene diff --git a/uv_magic_uv/muv_uvbb_ops.py b/uv_magic_uv/muv_uvbb_ops.py index 6666ddad..c596b1d1 100644 --- a/uv_magic_uv/muv_uvbb_ops.py +++ b/uv_magic_uv/muv_uvbb_ops.py @@ -738,7 +738,7 @@ class IMAGE_PT_MUV_UVBB(bpy.types.Panel): def draw_header(self, _): layout = self.layout - layout.label(text="", icon='PLUGIN') + layout.label(text="", icon='IMAGE_COL') def draw(self, context): sc = context.scene |