diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-12-02 18:27:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-12-02 18:27:10 +0300 |
commit | 6a6b38683226f606880616d0ee985ffc8d7617f7 (patch) | |
tree | c21ed42db118fe5d8eec0a32e8b488b7ef8358fa /source/blender/makesrna/intern/rna_image.c | |
parent | 9f27be3b2dcf4cd9abfacaca0871340811586664 (diff) |
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)
Diffstat (limited to 'source/blender/makesrna/intern/rna_image.c')
0 files changed, 0 insertions, 0 deletions