Fix (unreported) broken Py API doc after adding gpencil to buttons_context...
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 18 Mar 2019 13:42:07 +0000 (14:42 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 18 Mar 2019 13:42:44 +0000 (14:42 +0100)
doc/python_api/sphinx_doc_gen.py

index b78c366..0d34392 100644 (file)
@@ -1009,7 +1009,8 @@ context_type_map = {
     "editable_gpencil_strokes": ("GPencilStroke", True),
     "editable_objects": ("Object", True),
     "fluid": ("FluidSimulationModifier", False),
-    "gpencil_data": ("GreasePencel", False),
+    "gpencil": ("GreasePencil", False),
+    "gpencil_data": ("GreasePencil", False),
     "gpencil_data_owner": ("ID", False),
     "image_paint_object": ("Object", False),
     "lattice": ("Lattice", False),