From d4e0557cf1813310e6e41a3ebb1f36f53d916cbe Mon Sep 17 00:00:00 2001 From: Michael Stahre <> Date: Thu, 2 Feb 2017 03:59:21 +0100 Subject: Fix missing uniform type for python GPU uniform export. Reviewed By: brecht Differential Revision: https://developer.blender.org/D2379 --- source/blender/python/intern/gpu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source') 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); /* -------------------------------------------------------------------- */ -- cgit v1.2.3