Blender Git Commit Log

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021