[Bf-blender-cvs] [5473c5f] master: FCurve: use submenus rather then popups from menus

Campbell Barton noreply at git.blender.org
Wed May 14 06:17:20 CEST 2014


Commit: 5473c5fcc3f9854d9b2c4a6dfb4e43dccf4792cd
Author: Campbell Barton
Date:   Wed May 14 14:01:36 2014 +1000
https://developer.blender.org/rB5473c5fcc3f9854d9b2c4a6dfb4e43dccf4792cd

FCurve: use submenus rather then popups from menus

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index 353c689..3d39234 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -214,8 +214,8 @@ class GRAPH_MT_key(Menu):
         layout.operator_menu_enum("graph.mirror", "type", text="Mirror")
 
         layout.separator()
-        layout.operator("graph.keyframe_insert")
-        layout.operator("graph.fmodifier_add")
+        layout.operator_menu_enum("graph.keyframe_insert", "type")
+        layout.operator_menu_enum("graph.fmodifier_add", "type")
         layout.operator("graph.sound_bake")
 
         layout.separator()




More information about the Bf-blender-cvs mailing list