When building cube images, paste sides over top, not the other way around
Fixes problem with stacks of blocks showing a bit of the top of the blockr, most visible on spruce trees.
This commit is contained in:
@@ -302,9 +302,9 @@ def _build_block(top, side, blockID=None):
|
||||
composite.alpha_over(img, otherside, (12,6), otherside)
|
||||
composite.alpha_over(img, top, (0,9), top)
|
||||
else:
|
||||
composite.alpha_over(img, top, (0,0), top)
|
||||
composite.alpha_over(img, side, (0,6), side)
|
||||
composite.alpha_over(img, otherside, (12,6), otherside)
|
||||
composite.alpha_over(img, top, (0,0), top)
|
||||
|
||||
# Manually touch up 6 pixels that leave a gap because of how the
|
||||
# shearing works out. This makes the blocks perfectly tessellate-able
|
||||
|
||||
Reference in New Issue
Block a user