Blender Git Loki
Git Commits -> Revision de9437e
Revision de9437e by Campbell Barton (master) December 25, 2008, 14:17 (GMT) |
* temporary PKey in the script and 3D view runs "./test.py" (for testing PyOperators that need to run in the user interface context atm) * added ED_SCRIPT_OT_run_pyfile that takes a filename argument. * RNA_property_string_set didn't add a value to ID props if the prop wasnt there (like ints, floats and bools do) * bpy_operator.c - raise an error when unknown keyword args are passed to any operator . Examples of bpy operator api... bpyoperator.ED_VIEW3D_OT_viewhome(center=1) bpyoperator.ED_SCR_OT_frame_offset(delta=10) bpyoperator.ED_VIEW3D_OT_make_parent(type='OBJECT') At the moment there is no way to stop the operators .invoke() function from running so ED_VIEW3D_OT_make_parent still opens the menu even though it doesn't need to. |
Commit Details:
Full Hash: de9437e57ab34b7ef3e1f8777e7ac1fa09efa785
SVN Revision: 18054
Parent Commit: d7e8bec
Lines Changed: +208, -20
2 Added Paths:
/source/blender/editors/space_script/script_edit.c (+89, -0) (View)
/source/blender/editors/space_script/script_ops.c (+72, -0) (View)
/source/blender/editors/space_script/script_ops.c (+72, -0) (View)
7 Modified Paths:
/source/blender/editors/space_script/SConscript (+3, -0) (Diff)
/source/blender/editors/space_script/script_intern.h (+6, -0) (Diff)
/source/blender/editors/space_script/space_script.c (+0, -10) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+10, -0) (Diff)
/source/blender/python/intern/bpy_interface.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_operator.c (+23, -8) (Diff)
/source/blender/editors/space_script/script_intern.h (+6, -0) (Diff)
/source/blender/editors/space_script/space_script.c (+0, -10) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+10, -0) (Diff)
/source/blender/python/intern/bpy_interface.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_operator.c (+23, -8) (Diff)