Fix missing uniform type for python GPU uniform export.
authorMichael Stahre <>
Thu, 2 Feb 2017 02:59:21 +0000 (03:59 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Thu, 2 Feb 2017 03:03:26 +0000 (04:03 +0100)
Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2379

source/blender/python/intern/gpu.c

index 50dd4618166a37e30b82954f0781ad235624da87..48230a723d2212c330b9a09ebd6bf97dc32d36c2 100644 (file)
@@ -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);
 
 
        /* -------------------------------------------------------------------- */