UV: Ensure Pie Menu consistency with 3D Viewport

"Selected to Grid" and "Cursor to Grid" are now swapped to fix the
consistency between UV Snap Pie Menu and 3DView Snap Menu.

Resolves #140714

Co-authored-by: Nig3l <nig3lpro@gmail.com>
Pull Request: https://projects.blender.org/blender/blender/pulls/141300
This commit is contained in:
Maxime-Cots
2025-07-04 04:33:02 +02:00
committed by Pratik Borhade
parent 2a414eea0c
commit 6e3039173d

View File

@@ -633,16 +633,16 @@ class IMAGE_MT_uvs_snap_pie(Menu):
layout.operator_context = 'EXEC_REGION_WIN'
pie.operator(
"uv.snap_selected",
text="Selected to Pixels",
icon='RESTRICT_SELECT_OFF',
).target = 'PIXELS'
pie.operator(
"uv.snap_cursor",
text="Cursor to Pixels",
icon='PIVOT_CURSOR',
).target = 'PIXELS'
pie.operator(
"uv.snap_selected",
text="Selected to Pixels",
icon='RESTRICT_SELECT_OFF',
).target = 'PIXELS'
pie.operator(
"uv.snap_cursor",
text="Cursor to Selected",