[Bf-blender-cvs] [1c0fa3aff68] master: GPencil: Reorganize Snap pie menu

Antonio Vazquez noreply at git.blender.org
Tue Jul 21 12:36:29 CEST 2020


Commit: 1c0fa3aff6844bba4bc0fca985d8138385933874
Author: Antonio Vazquez
Date:   Tue Jul 21 12:34:57 2020 +0200
Branches: master
https://developer.blender.org/rB1c0fa3aff6844bba4bc0fca985d8138385933874

GPencil: Reorganize Snap pie menu

Put the options in the same position of meshes.

related to T79094

===================================================================

M	release/scripts/startup/bl_ui/properties_grease_pencil_common.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 55b6f76632f..4d6ddb55f24 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -299,7 +299,9 @@ class GPENCIL_MT_snap_pie(Menu):
             text="Selection to Cursor (Keep Offset)",
             icon='RESTRICT_SELECT_OFF'
             ).use_offset = True
+        pie.separator()
         pie.operator("view3d.snap_cursor_to_center", text="Cursor to World Origin", icon='CURSOR')
+        pie.separator()
 
 
 class GPENCIL_MT_move_to_layer(Menu):



More information about the Bf-blender-cvs mailing list