[Bf-blender-cvs] [c63d64a2ce3] master: NLA: Add Bake Action to the NLA edit menu
Brad Clark
noreply at git.blender.org
Mon Apr 25 11:42:55 CEST 2022
Commit: c63d64a2ce3e49188628d54450b751fd764b8a67
Author: Brad Clark
Date: Mon Apr 25 11:36:45 2022 +0200
Branches: master
https://developer.blender.org/rBc63d64a2ce3e49188628d54450b751fd764b8a67
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
===================================================================
M release/scripts/startup/bl_ui/space_nla.py
===================================================================
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")
More information about the Bf-blender-cvs
mailing list