Blender Git Commit Log
Git Commits -> Revision 057cb7e
Revision 057cb7e by Alexander Gavrilov (master) November 24, 2021, 12:58 (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: 057cb7e5e77bcf932882292a774156b5d8c90ab4
Parent Commit: 65f547c
Lines Changed: +114, -0
5 Modified Paths:
/doc/python_api/sphinx_doc_gen.py (+2, -0) (Diff)
/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)
/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)