diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-03-11 20:28:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-03-11 20:28:37 +0300 |
commit | 64512d3e8e9f950b8249deb506eb243345dc107e (patch) | |
tree | 14c6d7ba33f8674b85aceede7730d91b871caae8 /source/blender/windowmanager | |
parent | 891c3bc663b0f1ece07bfd48e06853a9eedb6178 (diff) |
WIP PyAPI from winter camp discussions, make subtypes of the base RNA python type, eventually allowing us to have python defined RNA classes in
python - lux/pov/renderman materials, lamps etc as well as operators.
At the moment there are 2 ways to do this, The first is like subclassing from python, another (disabled) method copies the base PyTypeObject struct
and makes some changes.
The PyType is stored in the RNA Struct for reuse, right now there are no access functions - needs to be improved.
Added a python script for printing all blend file data to the console which helps testing the api.
dir(rna) wont work for python 2.x now, use rna.__dir__() instead.
Diffstat (limited to 'source/blender/windowmanager')
0 files changed, 0 insertions, 0 deletions