0

composite expects an int

This commit is contained in:
Alejandro Aguilera
2011-07-17 01:31:47 +02:00
parent 641e9f5c18
commit 340f847f8c

View File

@@ -339,7 +339,7 @@ def _build_full_block(top, side1, side2, side3, side4, bottom=None, blockID=None
increment = 0
if isinstance(top, tuple):
increment = math.floor((top[1] / 16.)*12.) # range increment in the block height in pixels (half texture size)
increment = int(math.floor((top[1] / 16.)*12.)) # range increment in the block height in pixels (half texture size)
crop_height = increment
top = top[0]
if side1 != None: