Blender Git Loki

Git Commits -> Revision d428ba1

Revision d428ba1 by Campbell Barton (master)
June 25, 2009, 10:11 (GMT)
PyAPI RNA/BGE
* all mathutils types now have optional callbacks
* PyRNA returns mathutils quat and euler types automatically when they have the rotation subtype.
* PyRNA, reuse the BPy_StructRNA PyObject rather name making a new one for each function returned.
* use more arithb.c functions for Mathutils quaternion type (less inline cruft).
* BGE Mathutils integration mostly finished- KX_PyMath now converts to Mathutils types rather then lists.
* make all mathutils types share the same header so they can share a number of functions - dealloc, getWrapped, getOwner.

Commit Details:

Full Hash: d428ba1de8074e8b0ca2b7c0b060c18ebf7d6b0c
SVN Revision: 21148
Parent Commit: 7a357cb
Lines Changed: +715, -612

21 Modified Paths:

/source/blender/python/generic/euler.c (+90, -92) (Diff)
/source/blender/python/generic/euler.h (+8, -6) (Diff)
/source/blender/python/generic/geometry.c (+6, -6) (Diff)
/source/blender/python/generic/mathutils.c (+66, -61) (Diff)
/source/blender/python/generic/mathutils.h (+26, -15) (Diff)
/source/blender/python/generic/matrix.c (+43, -71) (Diff)
/source/blender/python/generic/matrix.h (+12, -9) (Diff)
/source/blender/python/generic/quat.c (+158, -170) (Diff)
/source/blender/python/generic/quat.h (+9, -7) (Diff)
/source/blender/python/generic/vector.c (+55, -81) (Diff)
/source/blender/python/generic/vector.h (+5, -4) (Diff)
/source/blender/python/intern/bpy_rna.c (+36, -18) (Diff)
/source/gameengine/Expressions/KX_Python.h (+2, -0) (Diff)
/source/gameengine/Expressions/PyObjectPlus.cpp (+6, -1) (Diff)
/source/gameengine/Expressions/PyObjectPlus.h (+5, -3) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+1, -10) (Diff)
/source/gameengine/Ketsji/KX_ObjectActuator.cpp (+129, -1) (Diff)
/source/gameengine/Ketsji/KX_ObjectActuator.h (+11, -0) (Diff)
/source/gameengine/Ketsji/KX_PyMath.cpp (+17, -49) (Diff)
/source/gameengine/Ketsji/KX_PyMath.h (+28, -7) (Diff)
/source/gameengine/Ketsji/KX_PythonInitTypes.cpp (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021