Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_event_system.cc
| Show First 20 Lines • Show All 887 Lines • ▼ Show 20 Lines | if (reports->list.first && (reports->flag & RPT_OP_HOLD) == 0) { | ||||
| WM_report_banner_show(); | WM_report_banner_show(); | ||||
| } | } | ||||
| } | } | ||||
| void WM_report(eReportType type, const char *message) | void WM_report(eReportType type, const char *message) | ||||
| { | { | ||||
| ReportList reports; | ReportList reports; | ||||
| BKE_reports_init(&reports, RPT_STORE); | BKE_reports_init(&reports, RPT_STORE | RPT_PRINT); | ||||
| BKE_report_print_level_set(&reports, RPT_WARNING); | |||||
| BKE_report(&reports, type, message); | BKE_report(&reports, type, message); | ||||
| wm_add_reports(&reports); | wm_add_reports(&reports); | ||||
| BKE_reports_clear(&reports); | BKE_reports_clear(&reports); | ||||
| } | } | ||||
| void WM_reportf(eReportType type, const char *format, ...) | void WM_reportf(eReportType type, const char *format, ...) | ||||
| ▲ Show 20 Lines • Show All 5,216 Lines • Show Last 20 Lines | |||||