Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Clark <RiggingDojo>2022-04-25 12:36:45 +0300
committerSybren A. Stüvel <sybren@blender.org>2022-04-25 12:42:46 +0300
commitc63d64a2ce3e49188628d54450b751fd764b8a67 (patch)
treec645e28323788f93a26ca7ee2595389db5f75b3e /release/scripts/startup/bl_ui/space_nla.py
parent416ef3b6b2d21a2eb7a24183ab67c8a540f79d57 (diff)
NLA: Add Bake Action to the NLA edit menu
Add Bake Action to the NLA edit menu to aid discoverablity and allow people to understand that Bake Action is part of working with the NLA. Part of the NLA road map improvement project for the Animation Module. This was a community request to add access to the Bake without needing to turn on developer tools in the preferences and then use search in the NLA for bake. It seems this was always intended, as the operator is called `nla.bake`. Reviewed By: sybren Differential Revision: https://developer.blender.org/D14575
Diffstat (limited to 'release/scripts/startup/bl_ui/space_nla.py')
-rw-r--r--release/scripts/startup/bl_ui/space_nla.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py
index 27c8cb754a7..77a472d844e 100644
--- a/release/scripts/startup/bl_ui/space_nla.py
+++ b/release/scripts/startup/bl_ui/space_nla.py
@@ -179,6 +179,7 @@ class NLA_MT_edit(Menu):
layout.operator_menu_enum("nla.snap", "type", text="Snap")
layout.separator()
+ layout.operator("nla.bake", text="Bake Action")
layout.operator("nla.duplicate", text="Duplicate").linked = False
layout.operator("nla.duplicate", text="Linked Duplicate").linked = True
layout.operator("nla.split")