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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-10-19 21:13:50 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-10-19 21:13:50 +0300
commitaf58646467ca27d90581eaf2ca063c95fb93fece (patch)
tree65501f2b3c768e0138a2318782542aff256b3d28 /doc
parentfbf4c11960db62a27876e1d791d3293071e26c76 (diff)
Fix py API docgen script for new context members.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 278c833216f..5de3eaeb2a3 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -979,6 +979,7 @@ def pymodule2sphinx(basepath, module_name, module, title):
# Changes in Blender will force errors here
context_type_map = {
+ # context_member: (RNA type, is_collection)
"active_base": ("ObjectBase", False),
"active_bone": ("EditBone", False),
"active_gpencil_brush": ("GPencilSculptBrush", False),
@@ -1040,6 +1041,7 @@ context_type_map = {
"selected_nodes": ("Node", True),
"selected_objects": ("Object", True),
"selected_pose_bones": ("PoseBone", True),
+ "selected_pose_bones_from_active_object": ("PoseBone", True),
"selected_sequences": ("Sequence", True),
"sequences": ("Sequence", True),
"smoke": ("SmokeModifier", False),
@@ -1049,6 +1051,7 @@ context_type_map = {
"texture_slot": ("MaterialTextureSlot", False),
"texture_user": ("ID", False),
"texture_user_property": ("Property", False),
+ "uv_sculpt_object": ("Object", False),
"vertex_paint_object": ("Object", False),
"visible_bases": ("ObjectBase", True),
"visible_bones": ("EditBone", True),