Minor fix to BKE_reportf(): also output the report's type when printing to console.
This commit is contained in:
@@ -134,6 +134,7 @@ void BKE_reportf(ReportList *reports, ReportType type, const char *_format, ...)
|
||||
const char *format = TIP_(_format);
|
||||
|
||||
if (G.background || !reports || ((reports->flag & RPT_PRINT) && (type >= reports->printlevel))) {
|
||||
printf("%s: ", report_type_str(type));
|
||||
va_start(args, _format);
|
||||
vprintf(format, args);
|
||||
va_end(args);
|
||||
|
Reference in New Issue
Block a user