Commit: 357d421ac2eaf093cb62e0e7db8095388a7e0544 Author: Sebastian Parborg Date: Thu Dec 27 16:23:12 2018 +0100 Branches: master https://developer.blender.org/rB357d421ac2eaf093cb62e0e7db8095388a7e0544
Fix T59864: UV editor missing options in snapping pie menu. Differential Revision: https://developer.blender.org/D4128 =================================================================== M release/scripts/startup/bl_ui/space_image.py =================================================================== diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index 38045a9de5e..69f319b4e03 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -498,8 +498,8 @@ 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='CURSOR').target = 'PIXELS' - pie.operator("uv.snap_cursor", text="Cursor to Selected", icon='CURSOR').target = 'SELECTED' + pie.operator("uv.snap_cursor", text="Cursor to Pixels", icon='PIVOT_CURSOR').target = 'PIXELS' + pie.operator("uv.snap_cursor", text="Cursor to Selected", icon='PIVOT_CURSOR').target = 'SELECTED' pie.operator("uv.snap_selected", text="Selected to Cursor", icon='RESTRICT_SELECT_OFF').target = 'CURSOR' pie.operator("uv.snap_selected", text="Selected to Cursor (Offset)", icon='RESTRICT_SELECT_OFF').target = 'CURSOR_OFFSET' pie.operator("uv.snap_selected", text="Selected to Adjacent Unselected", icon='RESTRICT_SELECT_OFF').target = 'ADJACENT_UNSELECTED' _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
