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>2020-01-13 17:57:15 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2020-01-13 17:58:05 +0300
commitdfa3f51e5245a466eb2d5b568f606fc45d533602 (patch)
tree0d4d5117b05f79de6795af4e6b54c81b4ad24c1e /doc
parent162cb74320303e91da28f103d0f1cd47442946af (diff)
Fix (unreported) broken PY API doc gen after recent GP changes.
As usual... Adding/removing members from context requires updates of the API building script.
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 278a2700f27..b74ad3c7dc2 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -989,6 +989,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_annotation_layer": ("GPencilLayer", False),
"active_base": ("ObjectBase", False),
"active_bone": ("EditBone", False),
"active_gpencil_frame": ("GreasePencilLayer", True),
@@ -998,6 +999,8 @@ context_type_map = {
"active_operator": ("Operator", False),
"active_pose_bone": ("PoseBone", False),
"active_editable_fcurve": ("FCurve", False),
+ "annotation_data": ("GreasePencil", False),
+ "annotation_data_owner": ("ID", False),
"armature": ("Armature", False),
"bone": ("Bone", False),
"brush": ("Brush", False),