[Bf-blender-cvs] [af58646467c] blender2.8: Fix py API docgen script for new context members.
Bastien Montagne
noreply at git.blender.org
Fri Oct 19 20:15:04 CEST 2018
Commit: af58646467ca27d90581eaf2ca063c95fb93fece
Author: Bastien Montagne
Date: Fri Oct 19 20:13:50 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBaf58646467ca27d90581eaf2ca063c95fb93fece
Fix py API docgen script for new context members.
===================================================================
M doc/python_api/sphinx_doc_gen.py
===================================================================
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),
More information about the Bf-blender-cvs
mailing list