Anim: Separate Slots operator

This adds an operator that splits all slots of the action on the active object,
into separate actions.

The newly created actions will be named `slot_name+Action`.
All users of those slots will be reassigned to this new action.

The exploded action will not be deleted, but will end up with 0 users
unless a fake user is set.

------

For the review, does that operator name make sense?

Pull Request: https://projects.blender.org/blender/blender/pulls/128251
This commit is contained in:
Christoph Lendenfeld
2024-09-27 16:39:29 +02:00
committed by Christoph Lendenfeld
parent ad2207243a
commit 85e4bd19f6
2 changed files with 69 additions and 1 deletions

View File

@@ -590,8 +590,11 @@ class DOPESHEET_MT_action(Menu):
def draw(self, context):
layout = self.layout
layout.operator("anim.slot_channels_move_to_new_action")
layout.operator("anim.merge_animation")
layout.operator("anim.separate_slots")
layout.separator()
layout.operator("anim.slot_channels_move_to_new_action")
class DOPESHEET_MT_key(Menu):