Blender Git Loki
Git Commits -> Revision 4741137
Revision 4741137 by Campbell Barton (master) July 26, 2009, 18:18 (GMT) |
misc py/rna changes - running a script from a file now uses the PyRun_File(FILE *, ...) rather then PyRun_String("exec(open(r'/somepath.py').read())"...), aparently FILE struct on windows could not ensured to be the same between blender and python, since we use our own python on windows now it should be ok. - generating docs works again (operator update for py style syntax broke them) - python operator doc strings was being overwritten - added rna property attribute "default" to get the default value of a property, not working on arrays currently because variable length arrays are not supported. |
Commit Details:
Full Hash: 4741137fc9639a3902a0a7bbbebb7256841ac027
SVN Revision: 21933
Parent Commit: b666f55
Lines Changed: +196, -54
9 Modified Paths:
/release/ui/bpy_ops.py (+15, -5) (Diff)
/source/blender/blenkernel/intern/screen.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+95, -0) (Diff)
/source/blender/python/epy_doc_gen.py (+12, -11) (Diff)
/source/blender/python/intern/bpy_interface.c (+10, -4) (Diff)
/source/blender/python/intern/bpy_operator.c (+32, -2) (Diff)
/source/blender/python/intern/bpy_operator_wrap.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_rna.c (+27, -27) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/screen.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+95, -0) (Diff)
/source/blender/python/epy_doc_gen.py (+12, -11) (Diff)
/source/blender/python/intern/bpy_interface.c (+10, -4) (Diff)
/source/blender/python/intern/bpy_operator.c (+32, -2) (Diff)
/source/blender/python/intern/bpy_operator_wrap.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_rna.c (+27, -27) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -2) (Diff)