From 00f266c651a52027b662f725d081af6b51aae343 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Tue, 22 Nov 2005 18:50:03 +0000 Subject: This is a modified version of patch #2995 To enable dynamic tiff support. I had to fix some of the logic in the fileselect box for icons, I also expanded the patch to look in various default locations for a dynamic libtiff.so/libtiff.dll and look at the env variable BF_TIFF_LIB if it can't find it automatically. If unable to load the library it prints a message about setting BF_TIFF_LIB to the console. I haven't been able to test it on a lot of platforms but hopefully it will just work ;) I added the files to scons but have not had a chance to test that as well. Kent --- source/blender/imbuf/IMB_imbuf_types.h | 4 +++- 1 file changed, 3 insertions(+), 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 413047bcae6..56a28850e71 100644 --- a/source/blender/imbuf/IMB_imbuf_types.h +++ b/source/blender/imbuf/IMB_imbuf_types.h @@ -150,7 +150,8 @@ typedef enum { #ifdef WITH_QUICKTIME #define QUICKTIME (1 << 25) #endif -#define RADHDR (1<<24) +#define RADHDR (1<<24) +#define TIF (1<<23) #define RAWTGA (TGA | 1) @@ -188,6 +189,7 @@ typedef enum { #define IS_tga(x) (x->ftype & TGA) #define IS_png(x) (x->ftype & PNG) #define IS_bmp(x) (x->ftype & BMP) +#define IS_tiff(x) (x->ftype & TIF) #define IS_radhdr(x) (x->ftype & RADHDR) #define IMAGIC 0732 -- cgit v1.2.3