Skip to content

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

Merge PR #172

Brandon Thomascbf9935b6e0d
diff --cc apps/lightcraft-cli/src/main.rs
index 579b1c74f,0f393706d..15edac61f
--- a/apps/lightcraft-cli/src/main.rs
+++ b/apps/lightcraft-cli/src/main.rs
@@@ -736,11 -738,9 +736,11 @@@ fn snapshot(args: &[String]) -> Result<
s.open_library(dir, false).map_err(|e| library_error(dir, e))?;
s
}
- None if files.is_empty() => Session::with_demo().with_fs(),
- None => Session::new().with_fs(),
+ None if files.is_empty() => Session::with_demo().with_fs().with_default_face_models(),
+ None => Session::new().with_fs().with_default_face_models(),
};
+ // Apply compute policy before imports or the first scripted query can discover an adapter.
+ session.execute("app.gpu", &json!({"enabled": false})).map_err(|e| e.to_string())?;
if !files.is_empty() {
let ti = Instant::now();
let r = session.execute("library.import", &json!({"paths": expand_paths(&files)})).map_err(|e| e.to_string())?;
diff --cc docs/parity.md
index c5c682075,53050dc44..9f28d6c50
--- a/docs/parity.md
+++ b/docs/parity.md
@@@ -42,9 -42,9 +42,9 @@@ and prints the summary; `cargo xtask pa
| S. Export (EXP) | 15 | 1 | 2 | 0 | 7/7 (100%) | 7/7 (100%) |
| T. Share (SHARE) | 0 | 0 | 0 | 4 | — | — |
| U. Map & location (MAP) | 0 | 1 | 1 | 0 | — | 0/1 (0%) |
- | V. Preferences (PREF) | 6 | 0 | 3 | 2 | 1/1 (100%) | 4/4 (100%) |
+ | V. Preferences (PREF) | 6 | 1 | 2 | 2 | 1/1 (100%) | 4/4 (100%) |
| W. Cloud & AI infrastructure (CLOUD / AI) | 1 | 0 | 1 | 2 | — | — |
-| X. Cross-cutting behaviours (BEHAV) | 17 | 5 | 1 | 1 | 8/8 (100%) | 6/8 (75%) |
+| X. Cross-cutting behaviours (BEHAV) | 18 | 5 | 1 | 1 | 8/8 (100%) | 6/8 (75%) |
| Y. Menus | 82 | 0 | 4 | 8 | 47/47 (100%) | 23/23 (100%) |
| Z. Keyboard shortcuts (desktop) | 75 | 3 | 3 | 1 | 49/52 (94%) | 23/24 (96%) |
| Lightroom Classic extras | 32 | 11 | 39 | 9 | — | 22/24 (92%) |