[Bf-blender-cvs] [a37437af567] greasepencil-object: UI: Reorganize draw specials menu options

Antonio Vazquez noreply at git.blender.org
Tue Jan 2 13:35:27 CET 2018


Commit: a37437af567aca7f5633eaea776f648eebb763ec
Author: Antonio Vazquez
Date:   Tue Jan 2 12:23:20 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBa37437af567aca7f5633eaea776f648eebb763ec

UI: Reorganize draw specials menu options

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

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 175a4259486..ee7961dbe12 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -994,14 +994,14 @@ class GPENCIL_MT_gpencil_draw_specials(Menu):
 
         layout.operator_context = 'INVOKE_REGION_WIN'
 
+        layout.operator("gpencil.fill", icon='BRUSH_DATA', text="Fill")
+
+        layout.separator()
         layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame")
         layout.operator("gpencil.frame_duplicate", text="Duplicate Active Frame All Layers").mode = 'ALL'
         layout.separator()
         layout.operator("gpencil.active_frames_delete_all", text="Delete Frame")
 
-        layout.separator()
-        layout.operator("gpencil.fill", icon='BRUSH_DATA', text="Fill")
-
         layout.separator()
         layout.operator("gpencil.primitive", text="Rectangle", icon='UV_FACESEL').type = 'BOX'
         layout.operator("gpencil.primitive", text="Circle", icon='ANTIALIASED').type = 'CIRCLE'



More information about the Bf-blender-cvs mailing list