Fix T54269: saved EXR file files unreadable some editors in Blender.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 10 Mar 2018 03:33:14 +0000 (04:33 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 10 Mar 2018 05:27:19 +0000 (06:27 +0100)
commit50dde3d01ac5076cf42a0523d9eab4aac917a990
tree2aef168487f24bd9b434ffca05294a58f88b65a2
parentd526b35ce282b97bef99844f405e802788a2d399
Fix T54269: saved EXR file files unreadable some editors in Blender.

Don't write the multichannel metadata when there is only a single layer,
and don't unnecessarily consider single layer images with Blender metadata
as multi layer.
source/blender/imbuf/intern/openexr/openexr_api.cpp