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_multi.h | |
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_multi.h')
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_multi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_multi.h b/source/blender/imbuf/intern/openexr/openexr_multi.h index 78071975c72..376d2401b1c 100644 --- a/source/blender/imbuf/intern/openexr/openexr_multi.h +++ b/source/blender/imbuf/intern/openexr/openexr_multi.h @@ -35,10 +35,10 @@ /* experiment with more advanced exr api */ -/* Note: as for now openexr only supports 32 chars in channel names. - * This api also supports max 8 channels per pass now. easy to fix! */ -#define EXR_LAY_MAXNAME 51 -#define EXR_PASS_MAXNAME 11 +/* XXX layer+pass name max 64? */ +/* This api also supports max 8 channels per pass now. easy to fix! */ +#define EXR_LAY_MAXNAME 64 +#define EXR_PASS_MAXNAME 64 #define EXR_TOT_MAXNAME 64 #define EXR_PASS_MAXCHAN 8 |