diff options
author | mano-wii <germano.costa@ig.com.br> | 2018-10-04 19:51:21 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2018-10-04 19:51:21 +0300 |
commit | ee6c8be1834a64bd5ba20400908999750bf8cd8d (patch) | |
tree | b4e2f7adcef90511438cf9b3c0e0418b462edc84 /source/blender/python/gpu/gpu_py_shader.c | |
parent | b183f57a9e73a4bdd5b232d2604f84fd21efc17b (diff) |
GPU Python: rename methods "shader_from_builtin" and "shader_code_from_builtin" to "from_builtin" and "code_from_builtin".
Diffstat (limited to 'source/blender/python/gpu/gpu_py_shader.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_shader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/gpu/gpu_py_shader.c b/source/blender/python/gpu/gpu_py_shader.c index 135e9c31c3f..c8193e00f6a 100644 --- a/source/blender/python/gpu/gpu_py_shader.c +++ b/source/blender/python/gpu/gpu_py_shader.c @@ -765,10 +765,10 @@ static struct PyMethodDef bpygpu_shader_module_methods[] = { {"unbind", (PyCFunction)bpygpu_shader_unbind, METH_NOARGS, bpygpu_shader_unbind_doc}, - {"shader_from_builtin", + {"from_builtin", (PyCFunction)bpygpu_shader_from_builtin, METH_O, bpygpu_shader_from_builtin_doc}, - {"shader_code_from_builtin", + {"code_from_builtin", (PyCFunction)bpygpu_shader_code_from_builtin, METH_O, bpygpu_shader_code_from_builtin_doc}, {NULL, NULL, 0, NULL} |