From 70e844ea11f3ed0c215bd667f668303ad55fd785 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sat, 25 Jan 2014 17:44:15 +0100 Subject: Fix T38353: some EXR files from other applications not loading correctly. * EXR layers with names like 'Z' without any pass name were not loaded at all and would break the Combined pass as well. * EXR pass names longer than 16 characters where writing past the end of the array and getting invalid names. --- source/blender/render/extern/include/RE_pipeline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/render') diff --git a/source/blender/render/extern/include/RE_pipeline.h b/source/blender/render/extern/include/RE_pipeline.h index 4c15ddd6833..32c0a1d8535 100644 --- a/source/blender/render/extern/include/RE_pipeline.h +++ b/source/blender/render/extern/include/RE_pipeline.h @@ -68,7 +68,7 @@ typedef struct Render Render; typedef struct RenderPass { struct RenderPass *next, *prev; int passtype, channels; - char name[16]; /* amount defined in openexr_multi.h */ + char name[64]; /* amount defined in openexr_multi.h */ char chan_id[8]; /* amount defined in openexr_multi.h */ float *rect; int rectx, recty; -- cgit v1.2.3