[Bf-blender-cvs] [d09c429e300] master: Fix writing Iris images w/ invalid header
Campbell Barton
noreply at git.blender.org
Sat Sep 16 07:58:52 CEST 2017
Commit: d09c429e300a0c9b1854d83e902e2ff522c83200
Author: Campbell Barton
Date: Sat Sep 16 16:07:27 2017 +1000
Branches: master
https://developer.blender.org/rBd09c429e300a0c9b1854d83e902e2ff522c83200
Fix writing Iris images w/ invalid header
Regression in e142ae77cadf
===================================================================
M source/blender/imbuf/intern/iris.c
===================================================================
diff --git a/source/blender/imbuf/intern/iris.c b/source/blender/imbuf/intern/iris.c
index 7a9fa2b9768..d2e72a02bc5 100644
--- a/source/blender/imbuf/intern/iris.c
+++ b/source/blender/imbuf/intern/iris.c
@@ -703,7 +703,7 @@ static int output_iris(unsigned int *lptr, int xsize, int ysize, int zsize, cons
lumbuf = (unsigned int *)MEM_mallocN(xsize * sizeof(int), "iris lumbuf");
memset(image, 0, sizeof(IMAGE));
- image->imagic = IMB_FTYPE_IMAGIC;
+ image->imagic = IMAGIC;
image->type = RLE(1);
if (zsize > 1)
image->dim = 3;
More information about the Bf-blender-cvs
mailing list