Blender Git Loki
Git Commits -> Revision 7f708da
Revision 7f708da by Alexander Gavrilov November 19, 2021, 15:09 (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: 7f708dafa670cc2a8b1546dfc2561aa72051e839
Parent Commit: 330290d
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)