diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-03-13 10:50:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-03-13 10:50:07 +0300 |
commit | a4793a3b4ac298a651f7bab0bafd809287647509 (patch) | |
tree | b6336575e85d3ede32c75eae618f7ae1907b235b /source/blender/python/rna_dump.py | |
parent | 432171fd99933f3aa4495bbc6e4b9a2c1df135a6 (diff) |
2.5 Python api
- rearranged modules bpyui -> bpy.ui, bpy -> bpy.data, remove bpydoc
- new module bpy.types, stores a list of all struct types
- added __rna__ attribute to types - eg bpy.types.World.__rna__ so you can access the rna data from a type. (so bpydoc.structs isnt needed anymore)
- removed unused subtyping method (use python subclassing rather then C PyTypeObject)
Diffstat (limited to 'source/blender/python/rna_dump.py')
-rw-r--r-- | source/blender/python/rna_dump.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/rna_dump.py b/source/blender/python/rna_dump.py index 826051d9ceb..f587cd983b2 100644 --- a/source/blender/python/rna_dump.py +++ b/source/blender/python/rna_dump.py @@ -104,7 +104,7 @@ def seek(r, txt): seek(r[i], newtxt) #print (dir(bpy)) -seek(bpy, 'bpy') +seek(bpy.data, 'bpy.data') #print dir(bpy) |