[Bf-blender-cvs] [6b6b28a] blender-v2.73-release: fix for doc generator

Campbell Barton noreply at git.blender.org
Tue Jan 6 10:44:51 CET 2015


Commit: 6b6b28a9d43a6b15c252f9cb0438cdf4fe900ca3
Author: Campbell Barton
Date:   Mon Dec 29 22:15:14 2014 +1100
Branches: blender-v2.73-release
https://developer.blender.org/rB6b6b28a9d43a6b15c252f9cb0438cdf4fe900ca3

fix for doc generator

===================================================================

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 0b9a4e6..7ffb448 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -971,10 +971,12 @@ def pymodule2sphinx(basepath, module_name, module, title):
 context_type_map = {
     "active_base": ("ObjectBase", False),
     "active_bone": ("EditBone", False),
+    "active_gpencil_frame": ("GreasePencilLayer", True),
+    "active_gpencil_layer": ("GPencilLayer", True),
+    "active_node": ("Node", False),
     "active_object": ("Object", False),
     "active_operator": ("Operator", False),
     "active_pose_bone": ("PoseBone", False),
-    "active_node": ("Node", False),
     "armature": ("Armature", False),
     "bone": ("Bone", False),
     "brush": ("Brush", False),
@@ -990,7 +992,11 @@ context_type_map = {
     "edit_object": ("Object", False),
     "edit_text": ("Text", False),
     "editable_bones": ("EditBone", True),
+    "editable_gpencil_layers": ("GPencilLayer", True),
+    "editable_gpencil_strokes": ("GPencilStroke", True),
     "fluid": ("FluidSimulationModifier", False),
+    "gpencil_data": ("GreasePencel", False),
+    "gpencil_data_owner": ("ID", False),
     "image_paint_object": ("Object", False),
     "lamp": ("Lamp", False),
     "lattice": ("Lattice", False),
@@ -1030,6 +1036,7 @@ context_type_map = {
     "vertex_paint_object": ("Object", False),
     "visible_bases": ("ObjectBase", True),
     "visible_bones": ("EditBone", True),
+    "visible_gpencil_layers": ("GPencilLayer", True),
     "visible_objects": ("Object", True),
     "visible_pose_bones": ("PoseBone", True),
     "weight_paint_object": ("Object", False),




More information about the Bf-blender-cvs mailing list