Blender Git Loki

Git Commits -> Revision 8106a6b

Revision 8106a6b by Campbell Barton (master)
January 4, 2015, 06:43 (GMT)
mathutils: refactor instantiation

remove 'type' argument, very few mathutils objects are wrapped,
add new function for creating wrapped objects.

also fixes unlikely memory leak if the data-array can't be allocated.

Commit Details:

Full Hash: 8106a6b75d45cc7472fd92f3b045697e30be8c73
Parent Commit: c41431f
Lines Changed: +481, -313

29 Modified Paths:

/source/blender/freestyle/intern/python/BPy_Convert.cpp (+3, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_Freestyle.cpp (+2, -2) (Diff)
/source/blender/python/bmesh/bmesh_py_ops_call.c (+2, -2) (Diff)
/source/blender/python/bmesh/bmesh_py_types.c (+9, -9) (Diff)
/source/blender/python/bmesh/bmesh_py_types_customdata.c (+1, -1) (Diff)
/source/blender/python/bmesh/bmesh_py_types_meshdata.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_rna.c (+9, -9) (Diff)
/source/blender/python/mathutils/mathutils.c (+2, -2) (Diff)
/source/blender/python/mathutils/mathutils.h (+13, -4) (Diff)
/source/blender/python/mathutils/mathutils_Color.c (+52, -32) (Diff)
/source/blender/python/mathutils/mathutils_Color.h (+12, -3) (Diff)
/source/blender/python/mathutils/mathutils_Euler.c (+52, -31) (Diff)
/source/blender/python/mathutils/mathutils_Euler.h (+12, -3) (Diff)
/source/blender/python/mathutils/mathutils_geometry.c (+19, -19) (Diff)
/source/blender/python/mathutils/mathutils_kdtree.c (+1, -1) (Diff)
/source/blender/python/mathutils/mathutils_Matrix.c (+83, -62) (Diff)
/source/blender/python/mathutils/mathutils_Matrix.h (+15, -6) (Diff)
/source/blender/python/mathutils/mathutils_noise.c (+6, -6) (Diff)
/source/blender/python/mathutils/mathutils_Quaternion.c (+58, -39) (Diff)
/source/blender/python/mathutils/mathutils_Quaternion.h (+12, -3) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+85, -59) (Diff)
/source/blender/python/mathutils/mathutils_Vector.h (+17, -5) (Diff)
/source/gameengine/Converter/BL_ArmatureChannel.cpp (+1, -1) (Diff)
/source/gameengine/Expressions/PyObjectPlus.cpp (+3, -3) (Diff)
/source/gameengine/Ketsji/KXNetwork/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/Ketsji/KXNetwork/SConscript (+1, -0) (Diff)
/source/gameengine/Ketsji/KX_PyMath.cpp (+6, -6) (Diff)
/source/gameengine/Network/CMakeLists.txt (+1, -0) (Diff)
/source/gameengine/Network/SConscript (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021