From b6afcf264eb7ca3cb689652d497a418f9f105c26 Mon Sep 17 00:00:00 2001 From: zhoubinjia Date: Tue, 21 Jul 2026 12:52:23 +0800 Subject: [PATCH] fix: raw baseline lut --- .../com/hinnka/mycamera/ui/gallery/GalleryEditScreen.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryEditScreen.kt b/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryEditScreen.kt index 6b6865f9..fe8b3029 100644 --- a/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryEditScreen.kt +++ b/app/src/main/java/com/hinnka/mycamera/ui/gallery/GalleryEditScreen.kt @@ -277,8 +277,10 @@ fun GalleryEditScreen( editRawCfaCorrectionMode = if (fast || rawDevelopIsBaked) "" else editRawCfaCorrectionMode, editRawDcpId = if (fast || rawDevelopIsBaked) null else editRawDcpId, editRawRenderingEngine = if (fast || rawDevelopIsBaked) "" else editRawColorEngine.name, - editRawBaselineLutId = editRawBaselineLutId.takeUnless { rawDevelopIsBaked }, - editRawBaselineRecipeParams = editRawBaselineRecipeParams.takeUnless { rawDevelopIsBaked }, + // RAW develop controls above are baked into original.jpg, while baseline color + // correction is still applied by PhotoProcessor to that bitmap preview. + editRawBaselineLutId = editRawBaselineLutId, + editRawBaselineRecipeParams = editRawBaselineRecipeParams, editComputationalAperture = if (fast) 0f else editComputationalAperture, editFocusX = editFocusX, editFocusY = editFocusY,