Commit 9c268b07 authored by Luke Campagnola's avatar Luke Campagnola
Browse files

fix from last rev

parent ad232ff7
......@@ -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):
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment