diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-06 08:48:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-06 08:48:42 +0300 |
commit | 14dc1aecf0e3dfb4abf8dc1ebfa4494df99b9e01 (patch) | |
tree | 62cac48b4a81d8dc14ceabd17c4c0ee99d89b69b /source/blender/python/intern | |
parent | c86fed79d5fda0b8ac0c560f71fd6001e6bf7ca8 (diff) | |
parent | e9c4325515aed9cb3a35183d4093cda2b6bffd9f (diff) |
Merge branch 'blender-v2.90-release' into master
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 585119a0eae..3dcd1d944a5 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -438,6 +438,12 @@ static void python_script_error_jump_text(struct Text *text) } } +void BPY_python_backtrace(FILE *fp) +{ + fputs("\n# Python backtrace\n", fp); + PyC_StackPrint(fp); +} + /* super annoying, undo _PyModule_Clear(), bug [#23871] */ #define PYMODULE_CLEAR_WORKAROUND |