diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-12 14:34:14 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-12 14:34:14 +0400 |
commit | ae09d2f9d87f0e22c62e58954ba6aadc39a24db0 (patch) | |
tree | b0e917bc4f3ee8b9799f0b212238d9caf20ad67d /source | |
parent | 36887c0ed017f4f4c62d0f4c704449ff5abe6173 (diff) |
Fixe related on #34608: MultiLayer OpenEXR (from Maya) - passes lost in Compositor Image Node
imb_exr_split_channel_name didn't set any value to layer and pass names,
leaving them uninitialized.
This is likely solves initial report, but will know for sure after testing
windows build only.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index 1b7aa1e7e63..6a8f9236831 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -886,6 +886,8 @@ static int imb_exr_split_channel_name(ExrChannel *echan, char *layname, char *pa /* some multilayers have the combined buffer with names A B G R saved */ if (name[1] == 0) { echan->chan_id = name[0]; + layname[0] = '\0'; + strcpy(passname, "Combined"); return 1; } |