[Bf-blender-cvs] [4050b49] master: increase mathutils callback count (BGE devs, read the log)

Dalai Felinto noreply at git.blender.org
Mon Jul 13 21:13:47 CEST 2015


Commit: 4050b49f97d40a3eef60817ba23b17040f912b4e
Author: Dalai Felinto
Date:   Mon Jul 13 16:11:59 2015 -0300
Branches: master
https://developer.blender.org/rB4050b49f97d40a3eef60817ba23b17040f912b4e

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

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

M	source/blender/python/mathutils/mathutils.c

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

diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c
index 8e14319..8b18a02 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)




More information about the Bf-blender-cvs mailing list