fix timeline issue where last tile is smaller large_tile_w/2 and so last timeline was not saved as last timeline. fixes #1424
This commit is contained in:
parent
f5cd0cf2ca
commit
865cbb2490
1 changed files with 3 additions and 1 deletions
|
@ -159,7 +159,9 @@ def join_tiles(source_paths, target_path):
|
||||||
save_and_open(data)
|
save_and_open(data)
|
||||||
target_x -= large_tile_w
|
target_x -= large_tile_w
|
||||||
data['target_images']['large'].paste(source_image, (target_x, 0))
|
data['target_images']['large'].paste(source_image, (target_x, 0))
|
||||||
target_w += source_w
|
# save_and_open saves previous tile and opens tile at target_w
|
||||||
|
# increase target_w to be in next tile
|
||||||
|
target_w += large_tile_w
|
||||||
save_and_open(data)
|
save_and_open(data)
|
||||||
|
|
||||||
# save full timelines
|
# save full timelines
|
||||||
|
|
Loading…
Reference in a new issue