change return values from mathutils callbacks to match pythons (-1 is error), so...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 28 Feb 2011 18:42:41 +0000 (18:42 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 28 Feb 2011 18:42:41 +0000 (18:42 +0000)
commit7348a50d7917252a49ef26afd2e7bbfb26c49dbe
tree36817186e338f5d2b9292ef74d24bab29e9278ba
parent506e8aa43786f80c60979fb53ba38288cfe193ad
change return values from mathutils callbacks to match pythons (-1 is error), so error macro's can be used in both.
12 files changed:
source/blender/python/generic/mathutils.c
source/blender/python/generic/mathutils.h
source/blender/python/generic/mathutils_Color.c
source/blender/python/generic/mathutils_Euler.c
source/blender/python/generic/mathutils_Matrix.c
source/blender/python/generic/mathutils_Quaternion.c
source/blender/python/generic/mathutils_Vector.c
source/blender/python/generic/mathutils_geometry.c
source/blender/python/intern/bpy_rna.c
source/gameengine/Ketsji/KX_GameObject.cpp
source/gameengine/Ketsji/KX_ObjectActuator.cpp
source/gameengine/Ketsji/KX_PyMath.h