[Bf-blender-cvs] [db346ac2cd2] master: API Docs: Fix corrupted document of gpu.select.load_id

nutti noreply at git.blender.org
Tue Sep 29 21:51:05 CEST 2020


Commit: db346ac2cd24ce31a2f5c2328603000ec58e9366
Author: nutti
Date:   Tue Sep 29 15:49:00 2020 -0400
Branches: master
https://developer.blender.org/rBdb346ac2cd24ce31a2f5c2328603000ec58e9366

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