Blender/Python API
authorCampbell Barton <ideasman42@gmail.com>
Sun, 14 Jun 2009 12:53:47 +0000 (12:53 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 14 Jun 2009 12:53:47 +0000 (12:53 +0000)
commit8ab7fbe79563895b38bcfc50625e19fa2b38f843
treeb161a037474a34fabcbcaa4dc80600bf28bf536d
parentc3c38155ad2aca369fa956b2251ed41c749942cc
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.
source/blender/editors/interface/interface_regions.c
source/blender/editors/space_script/script_edit.c
source/blender/editors/space_text/text_ops.c
source/blender/python/BPY_extern.h
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/bpy_operator_wrap.c
source/blender/python/intern/bpy_util.c
source/blender/python/intern/bpy_util.h
source/creator/creator.c