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
This commit is contained in:
Brad Clark 2022-04-25 11:36:45 +02:00 committed by Sybren A. Stüvel
parent 416ef3b6b2
commit c63d64a2ce
1 changed files with 1 additions and 0 deletions

View File

@ -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")