[Bf-blender-cvs] [d4e0557cf1] master: Fix missing uniform type for python GPU uniform export.

Michael Stahre noreply at git.blender.org
Thu Feb 2 04:28:33 CET 2017


Commit: d4e0557cf1813310e6e41a3ebb1f36f53d916cbe
Author: Michael Stahre
Date:   Thu Feb 2 03:59:21 2017 +0100
Branches: master
https://developer.blender.org/rBd4e0557cf1813310e6e41a3ebb1f36f53d916cbe

Fix missing uniform type for python GPU uniform export.

Reviewed By: brecht

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

===================================================================

M	source/blender/python/intern/gpu.c

===================================================================

diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c
index 50dd461816..48230a723d 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);
 
 
 	/* -------------------------------------------------------------------- */




More information about the Bf-blender-cvs mailing list