-
- Downloads
"docs.it4i/software/git@code.it4i.cz:sccs/docs.it4i.cz.git" did not exist on "7860f60e38e24f75bb4c0577dff1a91715fd26a5"
Fix: T78228 Send all python errors to info editor
Python exceptions are now shown in the info editor, this also resolves an old bug where errors were printed twice. This was originally based on D9752 by @ShadowChaser although many changes have been made from the original patch. Details: - BPy_errors_to_report no longer prints additional output. - BKE_report_print_test was added so it's possible to check if calling BKE_report also printed to the stdout. - Callers to BPy_errors_to_report are responsible for ensuring output is printed to the stdout/stderr. - Python exceptions no longer add a trailing newline, needed to avoid blank-space when displayed in the info-editor.
Showing
- source/blender/blenkernel/BKE_report.h 5 additions, 0 deletionssource/blender/blenkernel/BKE_report.h
- source/blender/blenkernel/intern/report.c 10 additions, 4 deletionssource/blender/blenkernel/intern/report.c
- source/blender/editors/space_text/text_ops.c 1 addition, 3 deletionssource/blender/editors/space_text/text_ops.c
- source/blender/python/intern/bpy_capi_utils.c 31 additions, 41 deletionssource/blender/python/intern/bpy_capi_utils.c
- source/blender/python/intern/bpy_capi_utils.h 12 additions, 1 deletionsource/blender/python/intern/bpy_capi_utils.h
- source/blender/python/intern/bpy_interface_run.c 25 additions, 1 deletionsource/blender/python/intern/bpy_interface_run.c
- source/blender/python/intern/bpy_traceback.c 2 additions, 3 deletionssource/blender/python/intern/bpy_traceback.c
Loading
Please register or sign in to comment