From 83bcb9deffb5eef2cbbb883c21f700840175d3fc Mon Sep 17 00:00:00 2001 From: Ian Thompson Date: Sat, 9 Aug 2008 18:11:40 +0000 Subject: 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. --- source/blender/python/BPY_extern.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/python/BPY_extern.h') 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 ); -- cgit v1.2.3