2.5 PyAPI
authorCampbell Barton <ideasman42@gmail.com>
Mon, 16 Mar 2009 15:54:43 +0000 (15:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 16 Mar 2009 15:54:43 +0000 (15:54 +0000)
commit16fe92f86828d6ccec90ad4d8a1995afaf616964
tree698094db706cd352a484ada3280f18771f9ef0fe
parent133e8827b7e9b76e61e405c6eeac88126a106b09
2.5 PyAPI
Support for subclassing blenders operator, to be registered as a new operator.

Still need to...
* add constants like Operator.FINISHED
* wrap context (with rna?)
* poll() cant work right now because there is no way to access the operatorType that holds the python class.
* ´╗┐Only float, int and bool properties can be added so far.

working example operator.
http://wiki.blender.org/index.php/BlenderDev/Blender2.5/WinterCamp/TechnicalDesign#Operator_Example_Code
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/bpy_operator.c
source/blender/python/intern/bpy_opwrapper.c
source/blender/python/intern/bpy_rna.c
source/blender/python/intern/bpy_rna.h
source/blender/windowmanager/intern/wm_event_system.c