#1070: refresh layered composition sources on import

This commit is contained in:
Moein Saharkhiz
2026-10-13 06:16:07 -04:00
parent 549e9d8251
commit 2ddbf20466
3 changed files with 87 additions and 0 deletions
+7
View File
@@ -415,6 +415,13 @@ fn prepare_import(s: &mut Session, p: &Value) -> Result<PendingImport> {
}
}
paths = rest;
// Composition imports already made their sources, so they bypass add_footage's
// probed-footage refresh. Refresh them before any background probe job starts (#1070).
for id in &items {
if let Some(ItemKind::Footage(f)) = s.project.item(ItemId(*id)).map(|it| &it.kind) {
s.forget_decoded(f);
}
}
}
// Numbered stills as image sequences (the Import dialog's "<format> Sequence" and Force
// Alphabetical Order), at `frameRate` or Settings ▸ Import ▸ Sequence Footage.