Blender Git Commit Log

Git Commits -> Revision 7cbc4c0

Revision 7cbc4c0 by Campbell Barton (master)
June 17, 2011, 05:45 (GMT)
IDProperty python module update
- add support for IDProp array slicing, but not resizing.
- rename array attribute type to typecode and use chars 'f', 'd', 'i' which match pythons array module. (was using int's which only have a meaning internally).
- rename function 'convert_to_pyobject' to 'to_dict' and 'to_list' for IDProp group and array types respectively.
- remove 'len' array attribute, calling len(array) is fine.

Commit Details:

Full Hash: 7cbc4c0dd7cf5c69eb74b36cd01c8321ad1a085f
SVN Revision: 37579
Parent Commit: ac089dd
Lines Changed: +342, -141

7 Modified Paths:

/release/scripts/modules/rna_prop_ui.py (+9, -5) (Diff)
/source/blender/python/generic/IDProp.c (+256, -70) (Diff)
/source/blender/python/generic/IDProp.h (+3, -2) (Diff)
/source/blender/python/generic/py_capi_utils.c (+70, -0) (Diff)
/source/blender/python/generic/py_capi_utils.h (+1, -1) (Diff)
/source/blender/python/intern/bpy_props.c (+3, -3) (Diff)
/source/blender/python/intern/bpy_util.c (+0, -60) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021