Update sphinx_doc_gen.py to work with recent changes (GPv2).
authorBastien Montagne <montagne29@wanadoo.fr>
Sun, 21 Aug 2016 20:38:06 +0000 (22:38 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Sun, 21 Aug 2016 20:38:06 +0000 (22:38 +0200)
doc/python_api/sphinx_doc_gen.py

index 2a3213e4e6ff5aab7a2eae4e0543fe274c2ab7bc..4a109a44ec0742034bfe097401ec5363b596100e 100644 (file)
@@ -1014,6 +1014,9 @@ context_type_map = {
     "active_bone": ("EditBone", False),
     "active_gpencil_frame": ("GreasePencilLayer", True),
     "active_gpencil_layer": ("GPencilLayer", True),
+    "active_gpencil_brush": ("GPencilSculptBrush", False),
+    "active_gpencil_palette": ("GPencilPalette", True),
+    "active_gpencil_palettecolor": ("GPencilPaletteColor", True),
     "active_node": ("Node", False),
     "active_object": ("Object", False),
     "active_operator": ("Operator", False),