Blender Git Commit Log

Git Commits -> Revision 409e90d

Revision 409e90d by Alexander Gavrilov
September 17, 2021, 11:05 (GMT)
Context: add accessors returning selected actions for animation editors.

Add a new 'selected_visible_actions' property to allow querying
actions that are selected in animation related editors for use in
UI and operators. The 'selected_editable_actions' variant excludes
linked actions (the only reason an action can be read-only).

In the Action and Shape Key editors there is only one action
that is specified by the field at the top of the editor.

In Dope Sheet it scans the channel rows and returns all actions
related to the selected items. This includes summary items for
actions and groups.

In Graph Editor, it lists actions associated with selected curves.

The new property is also used for Copy To Selected and Alt-Click.

Ref D11803

Commit Details:

Full Hash: 409e90d709fb533861a6464ce1c117a164e6e6bf
Parent Commit: ca841de
Lines Changed: +112, -0

4 Modified Paths:

/source/blender/editors/animation/anim_channels_defines.c (+18, -0) (Diff)
/source/blender/editors/include/ED_anim_api.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_ops.c (+3, -0) (Diff)
/source/blender/editors/screen/screen_context.c (+88, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021