Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormano-wii <germano.costa@ig.com.br>2018-09-20 19:55:43 +0300
committermano-wii <germano.costa@ig.com.br>2018-09-20 19:55:43 +0300
commit9c2dc808cecec1b20da963594d947423333315e7 (patch)
tree12de397d5ac9f5728fd6956ff46a651184173395 /source/blender/python
parent4264cee9215ccff5e8dcd5fed501ba0b99c000f1 (diff)
gpu.shader.builtin module: Add GPU_SHADER_2D_IMAGE.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/gpu/gpu_py_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/gpu/gpu_py_shader.c b/source/blender/python/gpu/gpu_py_shader.c
index 9eef178b8f0..2638be31268 100644
--- a/source/blender/python/gpu/gpu_py_shader.c
+++ b/source/blender/python/gpu/gpu_py_shader.c
@@ -54,6 +54,7 @@ static void bpygpu_shader_add_enum_objects(PyObject *submodule)
PY_DICT_ADD_INT(GPU_SHADER_2D_UNIFORM_COLOR);
PY_DICT_ADD_INT(GPU_SHADER_2D_FLAT_COLOR);
PY_DICT_ADD_INT(GPU_SHADER_2D_SMOOTH_COLOR);
+ PY_DICT_ADD_INT(GPU_SHADER_2D_IMAGE);
PY_DICT_ADD_INT(GPU_SHADER_3D_UNIFORM_COLOR);
PY_DICT_ADD_INT(GPU_SHADER_3D_FLAT_COLOR);
PY_DICT_ADD_INT(GPU_SHADER_3D_SMOOTH_COLOR);