reset offset clamp
This commit is contained in:
parent
afc3b2e6f2
commit
8dcd686add
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue