Fix wrong index order when selecting lighting updates during copy

This commit is contained in:
David Vierra 2015-09-05 10:34:28 -10:00
parent 3689f7b80a
commit 703a9ec002

View File

@ -172,7 +172,7 @@ def copyBlocksIter(destDim, sourceDim, sourceSelection, destinationPoint, blocks
# of sourceMaskPart.
if len(changedFlat):
x, y, z = sourceMaskPart.nonzero()
y, z, x = sourceMaskSliced.nonzero()
changedX = x[changedFlat].astype('i4')
changedY = y[changedFlat].astype('i4')
changedZ = z[changedFlat].astype('i4')