logging
This commit is contained in:
parent
3dca7fd79a
commit
dc5cc01dc8
1 changed files with 5 additions and 5 deletions
|
|
@ -516,10 +516,10 @@ class StitchingScanner:
|
||||||
stop_reason = 'timeout'
|
stop_reason = 'timeout'
|
||||||
break
|
break
|
||||||
|
|
||||||
# if current_dim() >= max_dim:
|
if current_dim() >= max_dim and direction == ScanDirection.RIGHT:
|
||||||
# self.log(f"Max dimension reached ({current_dim()}px)")
|
self.log(f"Max dimension reached ({current_dim()}px)")
|
||||||
# stop_reason = 'max_dim'
|
stop_reason = 'max_dim'
|
||||||
# break
|
break
|
||||||
# if current_dim() <= 0 and direction == ScanDirection.LEFT:
|
# if current_dim() <= 0 and direction == ScanDirection.LEFT:
|
||||||
# self.log(f"Max dimension reached ({current_dim()}px)")
|
# self.log(f"Max dimension reached ({current_dim()}px)")
|
||||||
# stop_reason = 'min_dim'
|
# stop_reason = 'min_dim'
|
||||||
|
|
@ -527,7 +527,7 @@ class StitchingScanner:
|
||||||
|
|
||||||
if total_x <= 0 and direction == ScanDirection.LEFT:
|
if total_x <= 0 and direction == ScanDirection.LEFT:
|
||||||
self.log(f"Max dimension reached ({self.config.max_mosaic_width}px)")
|
self.log(f"Max dimension reached ({self.config.max_mosaic_width}px)")
|
||||||
self.log(f"Current X offset ({self.state.current_x}px)")
|
self.log(f"Current X offset ({self.state.current_x}px) total_x ({total_x}px)")
|
||||||
stop_reason = 'max_dim'
|
stop_reason = 'max_dim'
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue