Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Merge pull request #2199 from skylartaylor/open-original-media-gate

skylar taylor-barrick2218d97e89c2
diff --cc crates/engine/src/lightroom_catalog.rs
index d60d60582,3c4b538fa..5f39188a1
--- a/crates/engine/src/lightroom_catalog.rs
+++ b/crates/engine/src/lightroom_catalog.rs
@@@ -559,9 -511,9 +559,10 @@@ pub fn read_with_progress(path: &Path,
keywords: keywords.remove(&id).unwrap_or_default(),
history: history.remove(&id).unwrap_or_default(),
snapshots: snapshots.remove(&id).unwrap_or_default(),
+ original,
});
}
+ refuse_non_media(&mut out);
ensure_read_active(cancel)?;
Ok(out)
}