Blender Git Loki

Git Commits -> Revision 6a6b386

Revision 6a6b386 by Campbell Barton (master)
December 2, 2008, 15:27 (GMT)
Made PyRNA props iterable, so you can do things like...

for ob in bpy.objects:
print(ob.name)

for i, lay in bpy.scenes["Scene"].layer:
print('%d %d' % i, lay)

Commit Details:

Full Hash: 6a6b38683226f606880616d0ee985ffc8d7617f7
SVN Revision: 17680
Parent Commit: 9f27be3
Lines Changed: +35, -2

1 Modified Path:

/source/blender/python/intern/bpy_rna.c (+35, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021