[Bf-blender-cvs] [bcaed559957] lanpr-under-gp: API Docs: Fix corrupted document of gpu.select.load_id
nutti
noreply at git.blender.org
Fri Oct 2 07:40:26 CEST 2020
Commit: bcaed5599570137bbb98980c55cb1e33f5166f9b
Author: nutti
Date: Tue Sep 29 15:49:00 2020 -0400
Branches: lanpr-under-gp
https://developer.blender.org/rBbcaed5599570137bbb98980c55cb1e33f5166f9b
API Docs: Fix corrupted document of gpu.select.load_id
The Python API document of gpu.select.load_id does not follow rst format.
c.f. https://docs.blender.org/api/current/gpu.select.html
This patch fixes it.
Reviewed By: Blendify
Differential Revision: https://developer.blender.org/D8547
===================================================================
M source/blender/python/gpu/gpu_py_select.c
===================================================================
diff --git a/source/blender/python/gpu/gpu_py_select.c b/source/blender/python/gpu/gpu_py_select.c
index b0b0e16f139..abe46301abb 100644
--- a/source/blender/python/gpu/gpu_py_select.c
+++ b/source/blender/python/gpu/gpu_py_select.c
@@ -41,7 +41,7 @@
* \{ */
PyDoc_STRVAR(bpygpu_select_load_id_doc,
- "load_id(id)\n"
+ ".. function:: load_id(id)\n"
"\n"
" Set the selection ID.\n"
"\n"
More information about the Bf-blender-cvs
mailing list