mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-27 11:37:13 -06:00
With XMP auto-write on, photo.readMetadataFromFile committed what it read and the command handler then wrote the sidecar back, adding lc:settings to a sidecar that had only another app's crs: settings. Later reads prefer lc:settings, so LRTimelapse's next crs: edits were ignored. The read now sets the existing one-command skip_auto_write switch (as photo.removeRegion does); edits made afterwards are still auto-written. Tests: a read leaves the sidecar byte for byte and a later develop edit is still written; the issue's crs:Exposure2012 0.5 -> 1.2 round trip is read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>