[Bf-blender-cvs] [388baf3] GPencil_EditStrokes: Updated "Frame" menu to show all the operators which work for Grease Pencil mode

Joshua Leung noreply at git.blender.org
Wed Oct 15 03:08:05 CEST 2014


Commit: 388baf3b708e69b22d0ba55740feaa3759f1eedd
Author: Joshua Leung
Date:   Wed Oct 15 13:50:57 2014 +1300
Branches: GPencil_EditStrokes
https://developer.blender.org/rB388baf3b708e69b22d0ba55740feaa3759f1eedd

Updated "Frame" menu to show all the operators which work for Grease Pencil mode

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py
index 79240bb..2daf787 100644
--- a/release/scripts/startup/bl_ui/space_dopesheet.py
+++ b/release/scripts/startup/bl_ui/space_dopesheet.py
@@ -365,14 +365,16 @@ class DOPESHEET_MT_gpencil_frame(Menu):
         layout = self.layout
 
         layout.menu("DOPESHEET_MT_key_transform", text="Transform")
-
-        #layout.operator_menu_enum("action.snap", "type", text="Snap")
-        #layout.operator_menu_enum("action.mirror", "type", text="Mirror")
+        layout.operator_menu_enum("action.snap", "type", text="Snap")
+        layout.operator_menu_enum("action.mirror", "type", text="Mirror")
 
         layout.separator()
         layout.operator("action.duplicate")
         layout.operator("action.delete")
 
+        layout.separator()
+        layout.operator("action.keyframe_type")
+
         #layout.separator()
         #layout.operator("action.copy")
         #layout.operator("action.paste")




More information about the Bf-blender-cvs mailing list