Fix errors in fix for T68018

This commit is contained in:
Campbell Barton 2019-11-03 17:56:05 +11:00
parent d4bef6a215
commit b5244cd5dc
Notes: blender-bot 2023-02-14 08:06:38 +01:00
Referenced by issue #71324, 2.82 Bug. Tools menu flicker
2 changed files with 3 additions and 4 deletions

View File

@ -2107,11 +2107,11 @@ bool BKE_sequencer_proxy_rebuild_context(Main *bmain,
int i;
if (!seq->strip || !seq->strip->proxy) {
return;
return true;
}
if (!(seq->flag & SEQ_USE_PROXY)) {
return;
return true;
}
num_files = seq_proxy_context_count(seq, scene);

View File

@ -219,8 +219,7 @@ static void seq_proxy_build_job(const bContext *C, ReportList *reports)
bool success = BKE_sequencer_proxy_rebuild_context(
pj->main, pj->depsgraph, pj->scene, seq, file_list, &pj->queue);
if (!success) {
BKE_reportf(reports, RPT_ERROR, "Could not build proxy for strip %s", &seq->name);
BKE_reportf(reports, RPT_ERROR, "Could not build proxy for strip %s", seq->name);
}
}
}