diff options
author | Matt Ebb <matt@mke3.net> | 2010-06-18 09:18:46 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-06-18 09:18:46 +0400 |
commit | 0aef0d2538573cdb6eefae9c2fc10d80fe1d572e (patch) | |
tree | 0c247eeed1b2f8f5247db4f5100b0d13ea1e35f7 /source | |
parent | bfd0810bebb5e26a89ced4c75a7e877600892537 (diff) |
Raise the default report popup severity to errors only (not warnings).
All reports still get displayed in header.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/report.c | 2 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_regions.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/report.c b/source/blender/blenkernel/intern/report.c index d5990ce81ec..173c6c136f2 100644 --- a/source/blender/blenkernel/intern/report.c +++ b/source/blender/blenkernel/intern/report.c @@ -67,7 +67,7 @@ void BKE_reports_init(ReportList *reports, int flag) memset(reports, 0, sizeof(ReportList)); reports->storelevel= RPT_INFO; - reports->printlevel= RPT_INFO; + reports->printlevel= RPT_ERROR; reports->flag= flag; } diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c index 0e58f73c87e..d44e4b2b4dc 100644 --- a/source/blender/editors/interface/interface_regions.c +++ b/source/blender/editors/interface/interface_regions.c @@ -2316,7 +2316,7 @@ void uiPupMenuReports(bContext *C, ReportList *reports) ds= BLI_dynstr_new(); for(report=reports->list.first; report; report=report->next) { - if(report->type <= reports->printlevel) + if(report->type < reports->printlevel) ; /* pass */ else if(report->type >= RPT_ERROR) BLI_dynstr_appendf(ds, "Error %%i%d%%t|%s", ICON_ERROR, report->message); |