Blender Git Loki

Git Commits -> Revision c8df192

Revision c8df192 by Campbell Barton (master)
January 13, 2011, 21:44 (GMT)
misc python api improvements
- rna array parsing was using PySequence_Size() in a loop, this can be slow to run so only call once.
- assigning a single value to a multi-dimensional array was missing type check.
- improve exception messages for rna array type errors.
- simplify vector slice assignment by using mathutils_array_parse(...)

Commit Details:

Full Hash: c8df192de6710c280c82ae39a3dc5de851af4c70
SVN Revision: 34304
Parent Commit: 5bdb576
Lines Changed: +23, -36

2 Modified Paths:

/source/blender/python/generic/mathutils_Vector.c (+7, -27) (Diff)
/source/blender/python/intern/bpy_rna_array.c (+16, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021