Commit 81a91132 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

minor

parent 250a6859
...@@ -17,7 +17,7 @@ def exr2arr(exrfile): ...@@ -17,7 +17,7 @@ def exr2arr(exrfile):
if c in channels: if c in channels:
channels_list.append(c) channels_list.append(c)
# the shape was incorrect # the shape had incorrect order
#size = (dw.max.x - dw.min.x + 1, dw.max.y - dw.min.y + 1) #size = (dw.max.x - dw.min.x + 1, dw.max.y - dw.min.y + 1)
size = (dw.max.y - dw.min.y + 1, dw.max.x - dw.min.x + 1) size = (dw.max.y - dw.min.y + 1, dw.max.x - dw.min.x + 1)
color_channels = file.channels(channels_list, Imath.PixelType(Imath.PixelType.FLOAT)) color_channels = file.channels(channels_list, Imath.PixelType(Imath.PixelType.FLOAT))
......
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