wip operator py-api
authorCampbell Barton <ideasman42@gmail.com>
Sun, 21 Dec 2008 08:53:36 +0000 (08:53 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 21 Dec 2008 08:53:36 +0000 (08:53 +0000)
commit4a86a07f8a8344ce7bd0dce02d8902e33d652a1a
treee56973a3da689b78c661af594bc705cd301cfbef
parent449e7777f75fa030894e89bd7d6a5daa9b9502b3
wip operator py-api
"operator.ED_VIEW3D_OT_viewhome(center=1)" calls the operator, converting keyword args to properties.
Need a way to run scripts in the UI for useful testing.

Still need to deal with operator exceptions and verifying args against operator options.

Added temporary WM_operatortype_first() to allow python to return a list if available operators, can replace this with something better later (operator iterator?)
source/blender/python/BPY_extern.h
source/blender/python/SConscript
source/blender/python/intern/bpy_idprop.c [new file with mode: 0644]
source/blender/python/intern/bpy_idprop.h [new file with mode: 0644]
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/bpy_operator.c [new file with mode: 0644]
source/blender/python/intern/bpy_operator.h [new file with mode: 0644]
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_operators.c
source/creator/creator.c