[object Object]

← back to Dw Photo Capture

Batch shoot: Resume now restores calibration (was shooting with cal=null)

5f0e9fc8503c20b890561f2731076e568474bf6c · 2026-09-19 10:04:41 -0700 · Steve Abrams

The 'Pick up where I left off' handler set session=last then went straight to
enterShoot() WITHOUT loading the persisted calibration, so a resumed batch shot
with cal=null — WB gains 1/1/1, no exposure-normalize, full-frame crop, CAL chip
'none'. Match the Start path: load cal for the session, and fall through to
enterCalib() when none is stored. Found by the TK-11909 5x /batch sweep.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Xadpnv4YPkFPKu6jDygAH

Files touched

Diff

commit 5f0e9fc8503c20b890561f2731076e568474bf6c
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sat Sep 19 10:04:41 2026 -0700

    Batch shoot: Resume now restores calibration (was shooting with cal=null)
    
    The 'Pick up where I left off' handler set session=last then went straight to
    enterShoot() WITHOUT loading the persisted calibration, so a resumed batch shot
    with cal=null — WB gains 1/1/1, no exposure-normalize, full-frame crop, CAL chip
    'none'. Match the Start path: load cal for the session, and fall through to
    enterCalib() when none is stored. Found by the TK-11909 5x /batch sweep.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_018Xadpnv4YPkFPKu6jDygAH
---
 public/batch.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/public/batch.html b/public/batch.html
index 1e3af51..7e54de5 100644
--- a/public/batch.html
+++ b/public/batch.html
@@ -360,7 +360,10 @@ function varLaplacian(img, rect){   // sharpness: variance of 4-neighbour Laplac
 $('#fDate').value = new Date().toISOString().slice(0,10);
 (function initSetup(){
   const last=loadJSON(LS_SESSION,null);
-  if(last){ $('#bResume').hidden=false; $('#bResume').onclick=()=>{ session=last; enterShoot(); }; }
+  if(last){ $('#bResume').hidden=false; $('#bResume').onclick=()=>{ session=last;
+    cal=loadJSON(LS_CAL+session.id, null);          // resume MUST restore calibration (else WB/exposure/crop are lost)
+    if(cal){ enterShoot(); } else { enterCalib(); }  // no stored cal → recalibrate first, same as the Start path
+  }; }
 })();
 // ── vendor dropdown, populated from the catalog vendor profiles (with a type-it escape) ──
 function toggleVendorOther(){ const other=$('#fVendorSel').value==='__other__'; $('#fVendorOtherWrap').hidden=!other; if(other) setTimeout(()=>$('#fVendor').focus(),50); }

← 7100b30 DEVICE-TEST: batch — panel position persistence + WYSIWYG ma  ·  back to Dw Photo Capture  ·  5x: batch UI calibrates via real #cSave (no synthetic cal se 97b0233 →