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:
authorMichael Stahre <>2017-02-02 05:59:21 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2017-02-02 06:03:26 +0300
commitd4e0557cf1813310e6e41a3ebb1f36f53d916cbe (patch)
tree88860730318a1d454fe893860cea70929aa5f005 /source/blender/python
parent3ab8895610be70affb61edf60a07fda8f59e3f74 (diff)
Fix missing uniform type for python GPU uniform export.
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2379
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/gpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c
index 50dd4618166..48230a723d2 100644
--- a/source/blender/python/intern/gpu.c
+++ b/source/blender/python/intern/gpu.c
@@ -138,6 +138,7 @@ static PyObject *PyInit_gpu(void)
PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_MAT_EMIT);
PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_MAT_AMB);
PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_MAT_ALPHA);
+ PY_MODULE_ADD_CONSTANT(m, GPU_DYNAMIC_MAT_MIR);
/* -------------------------------------------------------------------- */