# Conflicts:
#	crates/catalog/src/lock.rs
#	docs/parity-checklist.md
This commit is contained in:
bflatastic
2026-10-13 12:29:10 +07:00
7 changed files with 222 additions and 21 deletions
+1 -1
View File
@@ -1466,7 +1466,7 @@ impl crate::Session {
/// says and what a smart preview renders with. Only for raws edited in Kelvin.
fn learn_as_shot_wb(&mut self, id: PhotoId, info: &SourceInfo) {
let Some(p) = self.catalog.photo(id) else { return };
if !(info.raw && !info.relative_wb && p.develops_raw() && !p.relative_wb()) {
if !info.raw || info.relative_wb || !p.develops_raw() || p.relative_wb() {
return;
}
let read = (info.as_shot_temp, info.as_shot_tint);