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:
Diffstat (limited to 'source/blender/editors/space_info/info_report.c')
-rw-r--r--source/blender/editors/space_info/info_report.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_info/info_report.c b/source/blender/editors/space_info/info_report.c
index adc6391a0f6..3ba088018c3 100644
--- a/source/blender/editors/space_info/info_report.c
+++ b/source/blender/editors/space_info/info_report.c
@@ -100,15 +100,15 @@ int info_report_mask(const SpaceInfo *UNUSED(sinfo))
RPT_ERROR_ALL;
}
-// TODO, get this working again!
static int report_replay_exec(bContext *C, wmOperator *UNUSED(op))
{
- // SpaceInfo *sc = CTX_wm_space_info(C);
- // ReportList *reports = CTX_wm_reports(C);
- // int report_mask = info_report_mask(sc);
- // Report *report;
-
+ /* TODO, get this working again! */
#if 0
+ SpaceInfo *sc = CTX_wm_space_info(C);
+ ReportList *reports = CTX_wm_reports(C);
+ int report_mask = info_report_mask(sc);
+ Report *report;
+
sc->type = CONSOLE_TYPE_PYTHON;
for (report = reports->list.last; report; report = report->prev) {