[Bf-blender-cvs] [18d3d283ecf] blender-v3.1-release: Fix wrong method name in gpu documentation

Germano Cavalcante noreply at git.blender.org
Tue Feb 22 01:54:08 CET 2022


Commit: 18d3d283ecf548f22ea548cd01ffbf5afa93974d
Author: Germano Cavalcante
Date:   Thu Feb 17 22:11:08 2022 -0300
Branches: blender-v3.1-release
https://developer.blender.org/rB18d3d283ecf548f22ea548cd01ffbf5afa93974d

Fix wrong method name in gpu documentation

`use_program_point_size` --> `program_point_size_set`.

===================================================================

M	source/blender/python/gpu/gpu_py_state.c

===================================================================

diff --git a/source/blender/python/gpu/gpu_py_state.c b/source/blender/python/gpu/gpu_py_state.c
index 26905c87de2..746074f0706 100644
--- a/source/blender/python/gpu/gpu_py_state.c
+++ b/source/blender/python/gpu/gpu_py_state.c
@@ -340,7 +340,7 @@ static PyObject *pygpu_state_front_facing_set(PyObject *UNUSED(self), PyObject *
 }
 
 PyDoc_STRVAR(pygpu_state_program_point_size_set_doc,
-             ".. function:: use_program_point_size(enable)\n"
+             ".. function:: program_point_size_set(enable)\n"
              "\n"
              "   If enabled, the derived point size is taken from the (potentially clipped) "
              "shader builtin gl_PointSize.\n"



More information about the Bf-blender-cvs mailing list