diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-31 04:46:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-31 05:06:47 +0300 |
commit | aabe6e3b457f1d4f1b860ed510bf2630a818465e (patch) | |
tree | b32fca731f1e3e036de1f0d887b4b86644320512 /doc | |
parent | 65739ded542728a6dcca892fe42e20ab7da7ad28 (diff) |
Context: add "active_nla_track" & "active_nla_strip" context members
Selection was already accessible but not active.
Add utility functions:
- ANIM_nla_context_track to access the active track,
following the convention of ANIM_nla_context_strip.
- ANIM_nla_context_*_ptr versions of these functions,
needed to for creating context members to access the ID pointer.
Part of fix for T90723.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 5bd5f660104..99d1828e529 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -1047,6 +1047,8 @@ context_type_map = { "active_pose_bone": ("PoseBone", False), "active_sequence_strip": ("Sequence", False), "active_editable_fcurve": ("FCurve", False), + "active_nla_strip": ("NlaStrip", False), + "active_nla_track": ("NlaTrack", False), "annotation_data": ("GreasePencil", False), "annotation_data_owner": ("ID", False), "armature": ("Armature", False), |