better left scan
This commit is contained in:
parent
dc5cc01dc8
commit
0079417e1c
1 changed files with 1 additions and 1 deletions
|
|
@ -525,7 +525,7 @@ class StitchingScanner:
|
|||
# stop_reason = 'min_dim'
|
||||
# break
|
||||
|
||||
if total_x <= 0 and direction == ScanDirection.LEFT:
|
||||
if total_x <= -(self.config.max_mosaic_width) and direction == ScanDirection.LEFT:
|
||||
self.log(f"Max dimension reached ({self.config.max_mosaic_width}px)")
|
||||
self.log(f"Current X offset ({self.state.current_x}px) total_x ({total_x}px)")
|
||||
stop_reason = 'max_dim'
|
||||
|
|
|
|||
Loading…
Reference in a new issue