Blender Git Loki

Git Commits -> Revision 4a86a07

Revision 4a86a07 by Campbell Barton (master)
December 21, 2008, 08:53 (GMT)
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?)

Commit Details:

Full Hash: 4a86a07f8a8344ce7bd0dce02d8902e33d652a1a
SVN Revision: 17982
Parent Commit: 449e777
Lines Changed: +629, -7

4 Added Paths:

/source/blender/python/intern/bpy_idprop.c (+182, -0) (View)
/source/blender/python/intern/bpy_idprop.h (+33, -0) (View)
/source/blender/python/intern/bpy_operator.c (+340, -0) (View)
/source/blender/python/intern/bpy_operator.h (+54, -0) (View)

6 Modified Paths:

/source/blender/python/BPY_extern.h (+1, -1) (Diff)
/source/blender/python/intern/bpy_interface.c (+10, -3) (Diff)
/source/blender/python/SConscript (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+5, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/creator/creator.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021