diff options
author | Ton Roosendaal <ton@blender.org> | 2012-11-13 19:36:46 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-11-13 19:36:46 +0400 |
commit | f9428065b8c52755152821086ee521d976300e3d (patch) | |
tree | 3d1fc5dc6064cfced0bb8612de6115deb27267e9 /source/blender/imbuf/intern/openexr/openexr_api.cpp | |
parent | f0b6b899115d4d237d3151b502f10f1fdcbb9860 (diff) |
Bugfix #33161
The new node that outputs multilayer was using longer names than default.
Caused old code that truncated pass names to 11 chars to fail on loading exr.
This was an old limit in openexr - but that got fixed long ago.
On todo: check current openexr name lenghts, and all code in Blender that
defines pass/layer names.
Diffstat (limited to 'source/blender/imbuf/intern/openexr/openexr_api.cpp')
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index 1f35a0f5f89..16f2df9406d 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -881,7 +881,7 @@ void IMB_exr_close(void *handle) /* get a substring from the end of the name, separated by '.' */ static int imb_exr_split_token(const char *str, const char *end, const char **token) { - int maxlen = end - str; + int64_t maxlen = end - str; int len = 0; while (len < maxlen && *(end - len - 1) != '.') { len++; |