From 8dcd686addc960349c006dac71efb8241ab636b8 Mon Sep 17 00:00:00 2001 From: 2ManyProjects Date: Sat, 10 Jan 2026 13:29:37 -0600 Subject: [PATCH] reset offset clamp --- src/stitching_scanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stitching_scanner.py b/src/stitching_scanner.py index 865ce02..def7abc 100644 --- a/src/stitching_scanner.py +++ b/src/stitching_scanner.py @@ -214,8 +214,8 @@ class StitchingScanner: y_offset = y_offset - DEBUG_SHIFT_UP # Clamp x_offset to valid range - x_offset = max(0, min(x_offset, w_base - blend_w)) - # x_offset = min(x_offset, w_base) + # x_offset = max(0, min(x_offset, w_base - blend_w)) + x_offset = min(x_offset, w_base) # Handle strip cropping if y_offset is negative (strip protrudes above frame) strip_y_start = 0 # How much to crop from top of strip