diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-10 10:19:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-10 14:04:51 +0300 |
commit | 2abfcebb0eb7989e3d1e7d03f37ecf5c088210af (patch) | |
tree | e7a1ad5912b4661d4ece743f4f7fd86e6bf4d3c4 /source/blender/editors/space_info | |
parent | c735aca42e9f5961fec7e5d5fc196b5bd6b85f56 (diff) |
Cleanup: use C comments for descriptive text
Follow our code style guide by using C-comments for text descriptions.
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r-- | source/blender/editors/space_info/info_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_info/info_report.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/space_info/info_ops.c b/source/blender/editors/space_info/info_ops.c index 30f36509b41..0544a2cbefa 100644 --- a/source/blender/editors/space_info/info_ops.c +++ b/source/blender/editors/space_info/info_ops.c @@ -161,7 +161,7 @@ static int pack_all_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(ev Main *bmain = CTX_data_main(C); Image *ima; - // first check for dirty images + /* First check for dirty images. */ for (ima = bmain->images.first; ima; ima = ima->id.next) { if (BKE_image_is_dirty(ima)) { break; 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) { |