Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2021-10-19 17:24:23 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-10-20 12:36:33 +0300
commit25c173ffd12c0b46de4cc9919b8dbcc125f7e5ec (patch)
tree44694ba0e2b902a1b7401addefe2b390f0e64ba9 /doc
parent2bcf93bbbeb9e32f680c37a1e0054ff16cb00ef0 (diff)
Tracking: support editing all selected tracks
This patch adds a "selected_movieclip_tracks" context member and enables editing properties of multiple selected tracks via the usual Alt-click editing (as well as the "Copy To Selected" operator). Both use UI_context_copy_to_selected_list() to gather a list of other selected items [which are now taken via said new context member]. Strictly speaking, this could be done without the context member as well [just gathering other selected tracks in UI_context_copy_to_selected_list() without relying on a context member], but this might come in handy in other places (e.g. Addons). note: some could be desired for markers (e.g. editing pattern/search areas of all selected track markers, but since this is burried in a uiTemplate, this is a bit more work for another patch). Differential Revision: https://developer.blender.org/D12923
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index ec636036f95..afc84834dd1 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1110,6 +1110,7 @@ context_type_map = {
"selected_editable_sequences": ("Sequence", True),
"selected_files": ("FileSelectEntry", True),
"selected_nla_strips": ("NlaStrip", True),
+ "selected_movieclip_tracks": ("MovieTrackingTrack", True),
"selected_nodes": ("Node", True),
"selected_objects": ("Object", True),
"selected_pose_bones": ("PoseBone", True),