WIP: Single-frame job compiler #104194
@ -176,7 +176,7 @@ for index, image in enumerate(filenames):
|
||||
for dimension in dimensions:
|
||||
if dimensions[dimension] == 0:
|
||||
image_nodes[index].inputs[dimension].default_value = normalize(${settings.tile_size} / 100 / 2)
|
||||
elif dimensions[dimension] == row_max:
|
||||
elif dimensions[dimension] == row_max and 100 % ${settings.tile_size} != 0:
|
||||
image_nodes[index].inputs[dimension].default_value = normalize((${settings.tile_size} / 100 + (dimensions[dimension] - 1) * ${settings.tile_size} / 100) + ((100 % ${settings.tile_size}) / 100) / 2)
|
||||
else:
|
||||
image_nodes[index].inputs[dimension].default_value = normalize((${settings.tile_size} / 100 + (dimensions[dimension] - 1) * ${settings.tile_size} / 100) + (${settings.tile_size} / 100) / 2)
|
||||
|
Loading…
Reference in New Issue
Block a user