diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-11-14 15:04:12 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-11-14 15:06:10 +0300 |
commit | 61ecd3d24e0cc20bd9ec4e4282a100e241fcf190 (patch) | |
tree | 8386cc9d32ad00db9a7aea2c9e5dcf9e9feacbd4 /source/blender/python/gpu | |
parent | 4722003ca539e7742d462752049a9dd1ba7e2571 (diff) |
minor cleanup
Diffstat (limited to 'source/blender/python/gpu')
-rw-r--r-- | source/blender/python/gpu/gpu_py_shader.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/python/gpu/gpu_py_shader.c b/source/blender/python/gpu/gpu_py_shader.c index eeacd087884..3b2665cc4a2 100644 --- a/source/blender/python/gpu/gpu_py_shader.c +++ b/source/blender/python/gpu/gpu_py_shader.c @@ -697,9 +697,9 @@ static PyObject *bpygpu_shader_unbind(BPyGPUShader *UNUSED(self)) PyDoc_STRVAR(bpygpu_shader_from_builtin_doc, ".. function:: from_builtin(shader_name)\n" "\n" -"Shaders that are embedded in the blender internal code.\n" -"They all read the uniform 'mat4 ModelViewProjectionMatrix', which can be edited by the 'gpu.matrix' module.\n" -"For more details, you can check the shader code with the function 'gpu.shader.code_from_builtin';\n" +" Shaders that are embedded in the blender internal code.\n" +" They all read the uniform 'mat4 ModelViewProjectionMatrix', which can be edited by the 'gpu.matrix' module.\n" +" For more details, you can check the shader code with the function 'gpu.shader.code_from_builtin';\n" "\n" " :param shader_name: One of these builtin shader names: {\n" " '2D_UNIFORM_COLOR',\n" @@ -710,8 +710,8 @@ PyDoc_STRVAR(bpygpu_shader_from_builtin_doc, " '3D_FLAT_COLOR',\n" " '3D_SMOOTH_COLOR'}\n" " :type shader_name: str\n" -" :return: the shader object\n" -" :rtype: bpy.types.GPUShader\n" +" :return: Shader object corresponding to the given name.\n" +" :rtype: :class:`bpy.types.GPUShader`\n" ); static PyObject *bpygpu_shader_from_builtin(PyObject *UNUSED(self), PyObject *arg) { @@ -729,7 +729,7 @@ static PyObject *bpygpu_shader_from_builtin(PyObject *UNUSED(self), PyObject *ar PyDoc_STRVAR(bpygpu_shader_code_from_builtin_doc, ".. function:: code_from_builtin(shader_name)\n" "\n" -"Exposes the internal shader code for query.\n" +" Exposes the internal shader code for query.\n" "\n" " :param shader_name: One of these builtin shader names: {\n" " '2D_UNIFORM_COLOR',\n" |