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:
authorJason Schleifer <jasonschleifer>2022-11-10 14:04:31 +0300
committerSybren A. Stüvel <sybren@blender.org>2022-11-10 14:07:29 +0300
commit0b4bd3ddc016298e868169a541cf6c132b10c587 (patch)
treeb3d7bceb0fe1b8099f59884e0af45f86053b0a74
parent8ef092d2d8ae0453399c03310d293e71180955ec (diff)
NLA: Update context menu to include meta strip operators
The meta strip operator is available in the Add menu, but not in the context menu. This patch adds these two operators to the context menu: * nla.meta_add * nla.meta_remove Reviewed By: sybren, RiggingDojo Differential Revision: https://developer.blender.org/D16353
-rw-r--r--release/scripts/startup/bl_ui/space_nla.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py
index a1c7e5c54de..b43434d9988 100644
--- a/release/scripts/startup/bl_ui/space_nla.py
+++ b/release/scripts/startup/bl_ui/space_nla.py
@@ -310,6 +310,11 @@ class NLA_MT_context_menu(Menu):
layout.separator()
+ layout.operator("nla.meta_add")
+ layout.operator("nla.meta_remove")
+
+ layout.separator()
+
layout.operator("nla.swap")
layout.separator()