Blender Git Loki
Git Commits -> Revision 94dbb3b
Revision 94dbb3b by Brecht Van Lommel (master) June 18, 2009, 19:51 (GMT) |
2.5 Python Merging changes made by Arystanbek in the soc-2009-kazanbas branch, plus some things modified and added by me. * Operator exec is called execute in python now, due to conflicts with python exec keyword. * Operator invoke/execute now get context argument. * Fix crash executing operators due to bpy_import_main_set not being set with Main pointer. * The bpy.props module now has the FloatProperty/IntProperty/ StringProperty/BoolProperty functions to define RNA properties for operators. * Operators now have an __operator__ property to get the actual RNA operator pointers, this is only temporary though. * bpy.ops.add now allows the operator to be already registered, it will simply overwrite the existing one. * Both the ui and io directories are now scanned and run on startup. |
Commit Details:
Full Hash: 94dbb3bbdd612247f757d1962d2604737eb72f64
SVN Revision: 20991
Parent Commit: 4cd24cf
Lines Changed: +197, -85
6 Modified Paths:
/SConstruct (+11, -21) (Diff)
/source/blender/python/intern/bpy_interface.c (+54, -46) (Diff)
/source/blender/python/intern/bpy_operator_wrap.c (+59, -15) (Diff)
/source/blender/python/intern/bpy_rna.c (+67, -3) (Diff)
/source/blender/python/intern/bpy_rna.h (+2, -0) (Diff)
/source/blender/python/intern/bpy_util.c (+4, -0) (Diff)
/source/blender/python/intern/bpy_interface.c (+54, -46) (Diff)
/source/blender/python/intern/bpy_operator_wrap.c (+59, -15) (Diff)
/source/blender/python/intern/bpy_rna.c (+67, -3) (Diff)
/source/blender/python/intern/bpy_rna.h (+2, -0) (Diff)
/source/blender/python/intern/bpy_util.c (+4, -0) (Diff)