diff options
author | mano-wii <germano.costa@ig.com.br> | 2018-09-20 19:55:43 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2018-09-20 19:55:43 +0300 |
commit | 9c2dc808cecec1b20da963594d947423333315e7 (patch) | |
tree | 12de397d5ac9f5728fd6956ff46a651184173395 | |
parent | 4264cee9215ccff5e8dcd5fed501ba0b99c000f1 (diff) |
gpu.shader.builtin module: Add GPU_SHADER_2D_IMAGE.
-rw-r--r-- | source/blender/python/gpu/gpu_py_shader.c | 1 |
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); |