From 4050b49f97d40a3eef60817ba23b17040f912b4e Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Mon, 13 Jul 2015 16:11:59 -0300 Subject: increase mathutils callback count (BGE devs, read the log) This was causing the BGE to crash on Debug mode when built with "break on asserts", meaning the BGE was not debuggeable. Please make sure to test patches in debug mode with the proper flags enabled before committing --- source/blender/python/mathutils/mathutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python') diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c index 8e14319e258..8b18a02a186 100644 --- a/source/blender/python/mathutils/mathutils.c +++ b/source/blender/python/mathutils/mathutils.c @@ -412,7 +412,7 @@ int mathutils_deepcopy_args_check(PyObject *args) /* Mathutils Callbacks */ /* for mathutils internal use only, eventually should re-alloc but to start with we only have a few users */ -#define MATHUTILS_TOT_CB 16 +#define MATHUTILS_TOT_CB 17 static Mathutils_Callback *mathutils_callbacks[MATHUTILS_TOT_CB] = {NULL}; unsigned char Mathutils_RegisterCallback(Mathutils_Callback *cb) -- cgit v1.2.3