diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-19 21:08:46 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-19 21:08:46 +0400 |
commit | 3fec74ec1acbd2d8b3491bc44c87ef60c037a4f8 (patch) | |
tree | c809a7f655e0d0a1e5360c175abe6ef0519ed690 /source/blender/blenkernel/intern | |
parent | 7e620f04a1072e5bcffb92c9db501ebe9a51a25c (diff) |
Minor fix to BKE_reportf(): also output the report's type when printing to console.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/report.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/report.c b/source/blender/blenkernel/intern/report.c index ae6f4f35519..d925d736358 100644 --- a/source/blender/blenkernel/intern/report.c +++ b/source/blender/blenkernel/intern/report.c @@ -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); |