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:
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);