Commit: ee6c8be1834a64bd5ba20400908999750bf8cd8d Author: mano-wii Date: Thu Oct 4 13:51:21 2018 -0300 Branches: blender2.8 https://developer.blender.org/rBee6c8be1834a64bd5ba20400908999750bf8cd8d
GPU Python: rename methods "shader_from_builtin" and "shader_code_from_builtin" to "from_builtin" and "code_from_builtin". =================================================================== M source/blender/python/gpu/gpu_py_shader.c =================================================================== 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} _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs