From d648e036199ebb95fdc88945fe15144db302c121 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 7 Feb 2013 07:24:02 +0000 Subject: Fix #34145: 'Save Image' incorrect file type. Own mistake in 16bit PNG support, wrong bitmask for custom flags ftype really needs cleanup.. --- source/blender/imbuf/IMB_imbuf_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/imbuf/IMB_imbuf_types.h') diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h index 49e2e7fc80d..e30f1618c81 100644 --- a/source/blender/imbuf/IMB_imbuf_types.h +++ b/source/blender/imbuf/IMB_imbuf_types.h @@ -175,7 +175,7 @@ typedef struct ImBuf { * The bit flag is stored in the ImBuf.ftype variable. * Note that the lower 11 bits is used for storing custom flags */ -#define IB_CUSTOM_FLAGS_MASK 0x400 +#define IB_CUSTOM_FLAGS_MASK 0x7ff #define PNG (1 << 30) #define TGA (1 << 28) -- cgit v1.2.3