vfertical at x style rewrite
This commit is contained in:
parent
f3682dbd31
commit
c8e6a1f506
1 changed files with 2 additions and 2 deletions
|
|
@ -348,12 +348,12 @@ class StitchingScanner:
|
|||
strip_end = min(h, append_height + BLEND_WIDTH)
|
||||
new_strip = frame[:strip_end:, :]
|
||||
self.mosaic = self._blend_vertical_at_x(
|
||||
self.mosaic, new_strip, BLEND_WIDTH, append_below=False, x_offset=int(self.state.current_x))
|
||||
self.mosaic, new_strip, BLEND_WIDTH, append_below=False, x_off=int(self.state.current_x))
|
||||
else:
|
||||
strip_start = max(0, h - append_height - BLEND_WIDTH)
|
||||
new_strip = frame[:strip_start, :]
|
||||
self.mosaic = self._blend_vertical_at_x(
|
||||
self.mosaic, new_strip, BLEND_WIDTH, append_below=True, x_offset=int(self.state.current_x))
|
||||
self.mosaic, new_strip, BLEND_WIDTH, append_below=True, x_off=int(self.state.current_x))
|
||||
|
||||
self._displacement_since_append_x = 0.0
|
||||
self._displacement_since_append_y = fractional_remainder
|
||||
|
|
|
|||
Loading…
Reference in a new issue