mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
Force integer pixel values
This commit is contained in:
parent
91a3d8494b
commit
39d216797d
1 changed files with 4 additions and 4 deletions
|
|
@ -765,10 +765,10 @@ def _format_tiles(
|
|||
tiles_x,
|
||||
tiles_y
|
||||
)
|
||||
top = int(height) - (tile_y * h_space)
|
||||
bottom = int(height) - ((tile_y - 1) * h_space) - 1
|
||||
left = (tile_x - 1) * w_space
|
||||
right = (tile_x * w_space) - 1
|
||||
top = int(height - (tile_y * h_space))
|
||||
bottom = int(height - ((tile_y - 1) * h_space) - 1)
|
||||
left = int((tile_x - 1) * w_space)
|
||||
right = int((tile_x * w_space) - 1)
|
||||
|
||||
# Job Info
|
||||
new_filename = "{}/{}{}".format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue