Blender Git Commit Log

Git Commits -> Revision 7785ead

Revision 7785ead by Campbell Barton (master)
June 20, 2009, 02:44 (GMT)
ObColor wasnt converted into an RNA string.

Updated Mathutils.Vector/Euler/Quaternion/Matrix so these are types rather then module methods, each type now has a tp_new function, matching python builtins float/int/str.
Also cleaned up float conversion and arg passing.

Changed buttons_objects.py...
if ob in groups.objects: # no longer works
if ob.name in groups.objects: # is the new syntax
...its more dict like and a lot faster (avoids python iterating over each item and comparing each, use a single rna lookup instead).

Commit Details:

Full Hash: 7785ead4eb64f9702d7a59060e73b3e121e674a7
SVN Revision: 21020
Parent Commit: d0e8aca
Lines Changed: +464, -498

13 Modified Paths:

/release/ui/buttons_objects.py (+1, -1) (Diff)
/source/blender/blenkernel/intern/ipo.c (+6, -8) (Diff)
/source/blender/python/generic/euler.c (+78, -16) (Diff)
/source/blender/python/generic/euler.h (+0, -7) (Diff)
/source/blender/python/generic/mathutils.c (+41, -347) (Diff)
/source/blender/python/generic/mathutils.h (+0, -21) (Diff)
/source/blender/python/generic/matrix.c (+106, -15) (Diff)
/source/blender/python/generic/matrix.h (+0, -12) (Diff)
/source/blender/python/generic/quat.c (+141, -22) (Diff)
/source/blender/python/generic/quat.h (+0, -10) (Diff)
/source/blender/python/generic/vector.c (+89, -26) (Diff)
/source/blender/python/generic/vector.h (+0, -11) (Diff)
/source/blender/python/intern/bpy_rna.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021