Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-12-03 00:48:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-03 00:48:46 +0300
commit287325af35bf41890512af491b4c5f9a5f31c809 (patch)
tree7aff5d4ffc34ab42a51c53b4119f9c43520ff31e /source/blender/editors/space_info/info_report.c
parentde0b41588ae34962f66b6dc35010a613bb311423 (diff)
fix [#24586] Report mode of console does not show proper cariage returns.
use the line iterator to split up newlines.
Diffstat (limited to 'source/blender/editors/space_info/info_report.c')
-rw-r--r--source/blender/editors/space_info/info_report.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/space_info/info_report.c b/source/blender/editors/space_info/info_report.c
index 0fc8e157d92..8ae9c1293eb 100644
--- a/source/blender/editors/space_info/info_report.c
+++ b/source/blender/editors/space_info/info_report.c
@@ -45,8 +45,9 @@
#include "info_intern.h"
-int info_report_mask(SpaceInfo *sinfo)
+int info_report_mask(SpaceInfo *UNUSED(sinfo))
{
+#if 0
int report_mask = 0;
if(sinfo->rpt_mask & INFO_RPT_DEBUG) report_mask |= RPT_DEBUG_ALL;
@@ -56,6 +57,9 @@ int info_report_mask(SpaceInfo *sinfo)
if(sinfo->rpt_mask & INFO_RPT_ERR) report_mask |= RPT_ERROR_ALL;
return report_mask;
+#endif
+
+ return RPT_DEBUG_ALL|RPT_INFO_ALL|RPT_OPERATOR_ALL|RPT_WARNING_ALL|RPT_ERROR_ALL;
}
// TODO, get this working again!