[Bf-blender-cvs] [52b4afacb21] master: Fix errors raised at generating Python API docs

Campbell Barton noreply at git.blender.org
Mon Jun 24 12:08:48 CEST 2019


Commit: 52b4afacb21a1627f09d6cc4450cc6a8fc56c96d
Author: Campbell Barton
Date:   Mon Jun 24 20:05:36 2019 +1000
Branches: master
https://developer.blender.org/rB52b4afacb21a1627f09d6cc4450cc6a8fc56c96d

Fix errors raised at generating Python API docs

D5121 by @Nutti

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

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 14967b6344c..1ea1da4e03f 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -988,6 +988,7 @@ context_type_map = {
     "active_object": ("Object", False),
     "active_operator": ("Operator", False),
     "active_pose_bone": ("PoseBone", False),
+    "active_editable_fcurve": ("FCurve", False),
     "armature": ("Armature", False),
     "bone": ("Bone", False),
     "brush": ("Brush", False),
@@ -1007,6 +1008,7 @@ context_type_map = {
     "editable_gpencil_layers": ("GPencilLayer", True),
     "editable_gpencil_strokes": ("GPencilStroke", True),
     "editable_objects": ("Object", True),
+    "editable_fcurves": ("FCurve", True),
     "fluid": ("FluidSimulationModifier", False),
     "gpencil": ("GreasePencil", False),
     "gpencil_data": ("GreasePencil", False),
@@ -1042,6 +1044,7 @@ context_type_map = {
     "selected_pose_bones": ("PoseBone", True),
     "selected_pose_bones_from_active_object": ("PoseBone", True),
     "selected_sequences": ("Sequence", True),
+    "selected_visible_fcurves": ("FCurve", True),
     "sequences": ("Sequence", True),
     "smoke": ("SmokeModifier", False),
     "soft_body": ("SoftBodyModifier", False),
@@ -1056,6 +1059,7 @@ context_type_map = {
     "visible_gpencil_layers": ("GPencilLayer", True),
     "visible_objects": ("Object", True),
     "visible_pose_bones": ("PoseBone", True),
+    "visible_fcurves": ("FCurve", True),
     "weight_paint_object": ("Object", False),
     "world": ("World", False),
 }



More information about the Bf-blender-cvs mailing list