vertical mosiacv addition alignment fic
This commit is contained in:
parent
f30158fd18
commit
b102d3eed7
1 changed files with 0 additions and 4 deletions
|
|
@ -519,10 +519,6 @@ class StitchingScanner:
|
||||||
|
|
||||||
if abs(total_x) >= self.config.max_mosaic_width or total_x <= 0:
|
if abs(total_x) >= self.config.max_mosaic_width or total_x <= 0:
|
||||||
self.log(f"Max dimension reached ({self.config.max_mosaic_width}px)")
|
self.log(f"Max dimension reached ({self.config.max_mosaic_width}px)")
|
||||||
if direction == ScanDirection.RIGHT:
|
|
||||||
self.state.current_x = 0
|
|
||||||
elif direction == ScanDirection.LEFT:
|
|
||||||
self.state.current_x = self.state.max_mosaic_width - w # At right edge
|
|
||||||
self.log(f"Current X offset ({self.state.current_x}px)")
|
self.log(f"Current X offset ({self.state.current_x}px)")
|
||||||
stop_reason = 'max_dim'
|
stop_reason = 'max_dim'
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue