diff options
author | nutti <nutti.metro@gmail.com> | 2021-03-06 11:54:33 +0300 |
---|---|---|
committer | nutti <nutti.metro@gmail.com> | 2021-03-06 11:54:33 +0300 |
commit | 117faa96af35685d72e5e01f9a386d163d874133 (patch) | |
tree | b4378f8ca2e91c93ab035ab37b05e018f601ff54 /magic_uv/ui | |
parent | c8752443311b133f8783a6b9b2152eb7c92d06a7 (diff) |
Magic UV: Release v6.5
Updated Features
* Texture Projection
* Add option "Scaling", "Rotation", "Translation"
* Select UV
* Add Zoom Selected UV feature
* Add option "Same Polygon Threshold"
* Add option "Selection Method"
* Add option "Sync Mesh Selection"
* UV Inspection
* Add option "Same Polygon Threshold"
* Add option "Display View3D"
* Mirror UV
* Add option "Origin"
* UVW
* Add option "Force Axis"
Other Updates
* Fix bugs
Diffstat (limited to 'magic_uv/ui')
-rw-r--r-- | magic_uv/ui/IMAGE_MT_uvs.py | 17 | ||||
-rw-r--r-- | magic_uv/ui/VIEW3D_MT_object.py | 4 | ||||
-rw-r--r-- | magic_uv/ui/VIEW3D_MT_uv_map.py | 4 | ||||
-rw-r--r-- | magic_uv/ui/__init__.py | 4 | ||||
-rw-r--r-- | magic_uv/ui/uvedit_copy_paste_uv.py | 4 | ||||
-rw-r--r-- | magic_uv/ui/uvedit_editor_enhancement.py | 8 | ||||
-rw-r--r-- | magic_uv/ui/uvedit_uv_manipulation.py | 21 | ||||
-rw-r--r-- | magic_uv/ui/view3d_copy_paste_uv_editmode.py | 4 | ||||
-rw-r--r-- | magic_uv/ui/view3d_copy_paste_uv_objectmode.py | 4 | ||||
-rw-r--r-- | magic_uv/ui/view3d_uv_manipulation.py | 6 | ||||
-rw-r--r-- | magic_uv/ui/view3d_uv_mapping.py | 18 |
11 files changed, 63 insertions, 31 deletions
diff --git a/magic_uv/ui/IMAGE_MT_uvs.py b/magic_uv/ui/IMAGE_MT_uvs.py index 3984c20f..79199cfd 100644 --- a/magic_uv/ui/IMAGE_MT_uvs.py +++ b/magic_uv/ui/IMAGE_MT_uvs.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy @@ -123,13 +123,16 @@ class MUV_MT_SelectUV(bpy.types.Menu): bl_label = "Select UV" bl_description = "Select UV" - def draw(self, _): + def draw(self, context): + sc = context.scene layout = self.layout - layout.operator(MUV_OT_SelectUV_SelectOverlapped.bl_idname, - text="Overlapped") - layout.operator(MUV_OT_SelectUV_SelectFlipped.bl_idname, - text="Flipped") + ops = layout.operator(MUV_OT_SelectUV_SelectOverlapped.bl_idname, + text="Overlapped") + MUV_OT_SelectUV_SelectOverlapped.setup_argument(ops, sc) + ops = layout.operator(MUV_OT_SelectUV_SelectFlipped.bl_idname, + text="Flipped") + MUV_OT_SelectUV_SelectFlipped.setup_argument(ops, sc) @BlClassRegistry() diff --git a/magic_uv/ui/VIEW3D_MT_object.py b/magic_uv/ui/VIEW3D_MT_object.py index c8980592..e4255c3a 100644 --- a/magic_uv/ui/VIEW3D_MT_object.py +++ b/magic_uv/ui/VIEW3D_MT_object.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy diff --git a/magic_uv/ui/VIEW3D_MT_uv_map.py b/magic_uv/ui/VIEW3D_MT_uv_map.py index e6574f4d..a795ad48 100644 --- a/magic_uv/ui/VIEW3D_MT_uv_map.py +++ b/magic_uv/ui/VIEW3D_MT_uv_map.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy.utils diff --git a/magic_uv/ui/__init__.py b/magic_uv/ui/__init__.py index 083590a6..ebf11949 100644 --- a/magic_uv/ui/__init__.py +++ b/magic_uv/ui/__init__.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" if "bpy" in locals(): import importlib diff --git a/magic_uv/ui/uvedit_copy_paste_uv.py b/magic_uv/ui/uvedit_copy_paste_uv.py index 5f029f6f..2f652460 100644 --- a/magic_uv/ui/uvedit_copy_paste_uv.py +++ b/magic_uv/ui/uvedit_copy_paste_uv.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy diff --git a/magic_uv/ui/uvedit_editor_enhancement.py b/magic_uv/ui/uvedit_editor_enhancement.py index a0eba3a9..3d1e9ba3 100644 --- a/magic_uv/ui/uvedit_editor_enhancement.py +++ b/magic_uv/ui/uvedit_editor_enhancement.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy @@ -143,6 +143,10 @@ class MUV_PT_UVEdit_EditorEnhancement(bpy.types.Panel): row.prop(sc, "muv_uv_inspection_show_overlapped") row.prop(sc, "muv_uv_inspection_show_flipped") row = box.row() + row.prop(sc, "muv_uv_inspection_display_in_v3d", text="3D") row.prop(sc, "muv_uv_inspection_show_mode") + if sc.muv_uv_inspection_show_overlapped: + row = box.row() + row.prop(sc, "muv_uv_inspection_same_polygon_threshold") box.separator() box.operator(MUV_OT_UVInspection_PaintUVIsland.bl_idname) diff --git a/magic_uv/ui/uvedit_uv_manipulation.py b/magic_uv/ui/uvedit_uv_manipulation.py index 1b05cb00..4a4358da 100644 --- a/magic_uv/ui/uvedit_uv_manipulation.py +++ b/magic_uv/ui/uvedit_uv_manipulation.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy @@ -41,6 +41,7 @@ from ..op.smooth_uv import ( from ..op.select_uv import ( MUV_OT_SelectUV_SelectOverlapped, MUV_OT_SelectUV_SelectFlipped, + MUV_OT_SelectUV_ZoomSelectedUV, ) from ..op.pack_uv import MUV_OT_PackUV from ..op.clip_uv import MUV_OT_ClipUV @@ -176,8 +177,20 @@ class MUV_PT_UVEdit_UVManipulation(bpy.types.Panel): box.prop(sc, "muv_select_uv_enabled", text="Select UV") if sc.muv_select_uv_enabled: row = box.row(align=True) - row.operator(MUV_OT_SelectUV_SelectOverlapped.bl_idname) - row.operator(MUV_OT_SelectUV_SelectFlipped.bl_idname) + ops = row.operator(MUV_OT_SelectUV_SelectOverlapped.bl_idname) + MUV_OT_SelectUV_SelectOverlapped.setup_argument(ops, sc) + ops = row.operator(MUV_OT_SelectUV_SelectFlipped.bl_idname) + MUV_OT_SelectUV_SelectFlipped.setup_argument(ops, sc) + + col = box.column() + col.label(text="Same Polygon Threshold:") + col.prop(sc, "muv_select_uv_same_polygon_threshold", text="") + col.prop(sc, "muv_select_uv_selection_method") + col.prop(sc, "muv_select_uv_sync_mesh_selection") + + box.separator() + + box.operator(MUV_OT_SelectUV_ZoomSelectedUV.bl_idname) box = layout.box() box.prop(sc, "muv_pack_uv_enabled", text="Pack UV (Extension)") diff --git a/magic_uv/ui/view3d_copy_paste_uv_editmode.py b/magic_uv/ui/view3d_copy_paste_uv_editmode.py index 762fd9d9..6a458aff 100644 --- a/magic_uv/ui/view3d_copy_paste_uv_editmode.py +++ b/magic_uv/ui/view3d_copy_paste_uv_editmode.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy diff --git a/magic_uv/ui/view3d_copy_paste_uv_objectmode.py b/magic_uv/ui/view3d_copy_paste_uv_objectmode.py index 71d30755..b4fb3934 100644 --- a/magic_uv/ui/view3d_copy_paste_uv_objectmode.py +++ b/magic_uv/ui/view3d_copy_paste_uv_objectmode.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy diff --git a/magic_uv/ui/view3d_uv_manipulation.py b/magic_uv/ui/view3d_uv_manipulation.py index 6d0fce6d..dde58266 100644 --- a/magic_uv/ui/view3d_uv_manipulation.py +++ b/magic_uv/ui/view3d_uv_manipulation.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy @@ -94,7 +94,9 @@ class MUV_PT_View3D_UVManipulation(bpy.types.Panel): row = box.row() ops = row.operator(MUV_OT_MirrorUV.bl_idname, text="Mirror") ops.axis = sc.muv_mirror_uv_axis + ops.origin = sc.muv_mirror_uv_origin row.prop(sc, "muv_mirror_uv_axis", text="") + box.prop(sc, "muv_mirror_uv_origin") box = layout.box() box.prop(sc, "muv_move_uv_enabled", text="Move UV") diff --git a/magic_uv/ui/view3d_uv_mapping.py b/magic_uv/ui/view3d_uv_mapping.py index 6a4217c0..22d20b4f 100644 --- a/magic_uv/ui/view3d_uv_mapping.py +++ b/magic_uv/ui/view3d_uv_mapping.py @@ -20,8 +20,8 @@ __author__ = "Nutti <nutti.metro@gmail.com>" __status__ = "production" -__version__ = "6.4" -__date__ = "23 Oct 2020" +__version__ = "6.5" +__date__ = "6 Mar 2021" import bpy @@ -92,8 +92,18 @@ class MUV_PT_View3D_UVMapping(bpy.types.Panel): row.prop(sc, "muv_texture_projection_adjust_window", text="Adjust Window") if not sc.muv_texture_projection_adjust_window: - row.prop(sc, "muv_texture_projection_tex_magnitude", - text="Magnitude") + sp = compat.layout_split(col, factor=0.5) + sub = sp.column() + sub.prop(sc, "muv_texture_projection_tex_scaling", + text="Scaling") + sp = compat.layout_split(sp, factor=1.0) + sub = sp.column() + sub.prop(sc, "muv_texture_projection_tex_translation", + text="Translation") + row = col.row() + row.label(text="Rotation:") + row.prop(sc, "muv_texture_projection_tex_rotation", text="") + col.separator() col.prop(sc, "muv_texture_projection_apply_tex_aspect", text="Texture Aspect Ratio") col.prop(sc, "muv_texture_projection_assign_uvmap", |