diff options
author | William Reynish <billrey@me.com> | 2019-03-19 15:14:35 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-03-19 15:14:35 +0300 |
commit | 12716e6b9fc74bd53be39ec7aab16ca8d43f0593 (patch) | |
tree | 5858c89f5c74eceac26cf1cdddaaf0856f788699 /release | |
parent | 142096a2ed074ad72e90f45252ebd0958b04b8b3 (diff) |
UI: Make UV Editor contextual menu more consistent with 3D View
-Use same ordering of Add, Modify, Remove
-Add back Remove Doubles here
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index b30e5c8c642..7d8e4e7eb3e 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -448,31 +448,33 @@ class IMAGE_MT_uvs_context_menu(Menu): # UV Edit Mode if sima.show_uvedit: + # Add layout.operator("uv.unwrap") layout.operator("uv.follow_active_quads") layout.separator() + # Modify layout.operator("uv.pin").clear = False layout.operator("uv.pin", text="Unpin").clear = True layout.separator() - layout.operator("uv.weld") - layout.operator("uv.stitch") - - layout.separator() + layout.menu("IMAGE_MT_uvs_snap") - layout.operator_enum("uv.align", "axis") # W, 2/3/4. + layout.operator("transform.mirror", text="Mirror X").constraint_axis[0] = True + layout.operator("transform.mirror", text="Mirror Y").constraint_axis[1] = True layout.separator() - layout.operator("transform.mirror", text="Mirror X").constraint_axis[0] = True - layout.operator("transform.mirror", text="Mirror Y").constraint_axis[1] = True + layout.operator_enum("uv.align", "axis") # W, 2/3/4. layout.separator() - layout.menu("IMAGE_MT_uvs_snap") + # Remove + layout.operator("uv.remove_doubles", text="Remove Double UVs") + layout.operator("uv.stitch") + layout.operator("uv.weld") class IMAGE_MT_pivot_pie(Menu): |