diff options
author | Ian Thompson <quornian@googlemail.com> | 2008-08-09 22:11:40 +0400 |
---|---|---|
committer | Ian Thompson <quornian@googlemail.com> | 2008-08-09 22:11:40 +0400 |
commit | 83bcb9deffb5eef2cbbb883c21f700840175d3fc (patch) | |
tree | 608a86dcbfc124ec5b8d18d357088be7b0079b24 /source/blender/python/BPY_extern.h | |
parent | 4c89ee7838c3162bca9045db857593b05fb42419 (diff) |
Python errors originating in the active text are now displayed at the top of the text area. Errors in other files/scripts still pop up a message as before and all errors are still printed to the console. This removes the need to switch to the console for local errors.
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r-- | source/blender/python/BPY_extern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 3d9b45051fb..a8b9cb48c16 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -89,6 +89,7 @@ extern "C" { int BPY_Err_getLinenumber( void ); const char *BPY_Err_getFilename( void ); + const char *BPY_Err_getMessage( void ); int BPY_txt_do_python_Text( struct Text *text ); int BPY_menu_do_python( short menutype, int event ); |