[Bf-blender-cvs] [d8e7d8b82c6] master: Fix missing keyframe type operation in dopesheet and timeline context menu

Jean First noreply at git.blender.org
Mon Jun 17 19:03:04 CEST 2019


Commit: d8e7d8b82c6abc35b2f1463d506a9aec20825b86
Author: Jean First
Date:   Mon Jun 17 18:54:08 2019 +0200
Branches: master
https://developer.blender.org/rBd8e7d8b82c6abc35b2f1463d506a9aec20825b86

Fix missing keyframe type operation in dopesheet and timeline context menu

Differential Revision: https://developer.blender.org/D5055

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py
index c0274a64bd0..1e0835c0c69 100644
--- a/release/scripts/startup/bl_ui/space_dopesheet.py
+++ b/release/scripts/startup/bl_ui/space_dopesheet.py
@@ -573,6 +573,7 @@ class DOPESHEET_MT_context_menu(Menu):
 
         layout.separator()
 
+        layout.operator_menu_enum("action.keyframe_type", "type", text="Keyframe Type")
         layout.operator_menu_enum("action.handle_type", "type", text="Handle Type")
         layout.operator_menu_enum("action.interpolation_type", "type", text="Interpolation Mode")
 
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index 422990760b4..7af2e8cd0a6 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -336,6 +336,7 @@ class GRAPH_MT_context_menu(Menu):
 
         layout.separator()
 
+        layout.operator_menu_enum("graph.keyframe_type", "type", text="Keyframe Type")
         layout.operator_menu_enum("graph.handle_type", "type", text="Handle Type")
         layout.operator_menu_enum("graph.interpolation_type", "type", text="Interpolation Mode")
         layout.operator_menu_enum("graph.easing_type", "type", text="Easing Type")



More information about the Bf-blender-cvs mailing list