Cleanup: Minor fixes to comments and CLOG reports.

This commit is contained in:
Bastien Montagne
2023-05-13 19:24:41 +02:00
parent a23275a6ea
commit 5a2f159ba4
2 changed files with 3 additions and 3 deletions

View File

@@ -949,12 +949,12 @@ static void object_blend_read_lib(BlendLibReader *reader, ID *id)
if (ob->id.lib) {
BLO_reportf_wrap(reports,
RPT_INFO,
TIP_("Can't find object data of %s lib %s\n"),
TIP_("Can't find object data of %s lib %s"),
ob->id.name + 2,
ob->id.lib->filepath);
}
else {
BLO_reportf_wrap(reports, RPT_INFO, TIP_("Object %s lost data\n"), ob->id.name + 2);
BLO_reportf_wrap(reports, RPT_INFO, TIP_("Object %s lost data"), ob->id.name + 2);
}
reports->count.missing_obdata++;
}

View File

@@ -299,7 +299,7 @@ static void wm_window_match_keep_current_wm(const bContext *C,
BKE_workspace_active_set(win->workspace_hook, workspace);
win->scene = CTX_data_scene(C);
/* all windows get active screen from file */
/* All windows get active screen from file. */
if (screen->winid == 0) {
WM_window_set_active_screen(win, workspace, screen);
}