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

minor

parent 250a6859
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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))