fix from last rev

This commit is contained in:
Luke Campagnola 2012-03-27 12:33:02 -04:00
parent ad232ff79b
commit 9c268b0728

View File

@ -586,7 +586,6 @@ def makeARGB(data, lut=None, levels=None, useRGBA=False):
else:
order = [2,1,0,3] ## for some reason, the colors line up as BGR in the final image.
order = [2,1,0,3] ## for some reason, the colors line up as BGR in the final image.
if data.shape[2] == 1:
for i in xrange(3):
imgData[..., order[i]] = data[..., 0]
@ -1249,4 +1248,4 @@ def isosurface(data, level):