Blender Git Loki

Git Commits -> Revision 8ab7fbe

Revision 8ab7fbe by Campbell Barton (master)
June 14, 2009, 12:53 (GMT)
Blender/Python API
Send the full python stack trace to the reporting api,
added BPY_exception_buffer which temporarily overrides sys.stdout and sys.stderr to get the output (uses the io module in py3 StringIO in py2 to avoid writing into a real file), pity the Py/C api has no function to do this.

fix for crash when showing menu's that have no items.

Commit Details:

Full Hash: 8ab7fbe79563895b38bcfc50625e19fa2b38f843
SVN Revision: 20873
Parent Commit: c3c3815
Lines Changed: +130, -68

9 Modified Paths:

/source/blender/editors/interface/interface_regions.c (+3, -0) (Diff)
/source/blender/editors/space_script/script_edit.c (+6, -4) (Diff)
/source/blender/editors/space_text/text_ops.c (+1, -1) (Diff)
/source/blender/python/BPY_extern.h (+1, -1) (Diff)
/source/blender/python/intern/bpy_interface.c (+9, -9) (Diff)
/source/blender/python/intern/bpy_operator_wrap.c (+3, -51) (Diff)
/source/blender/python/intern/bpy_util.c (+102, -0) (Diff)
/source/blender/python/intern/bpy_util.h (+3, -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