UI: errors in buttons now show in info report
Mistakes in button expressions were previously only printed to the console.
This commit is contained in:
@@ -595,7 +595,7 @@ int BPY_button_exec(bContext *C, const char *expr, double *value, const bool ver
|
||||
|
||||
if (error_ret) {
|
||||
if (verbose) {
|
||||
BPy_errors_to_report(CTX_wm_reports(C));
|
||||
BPy_errors_to_report_ex(CTX_wm_reports(C), false, false);
|
||||
}
|
||||
else {
|
||||
PyErr_Clear();
|
||||
|
||||
Reference in New Issue
Block a user