From 0e233b3213a21449399d91b9ee841c235fbba4d7 Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Fri, 22 Feb 2008 22:23:58 +0000 Subject: =Reversion of premul bugfix= Reversion of premul bugfix, as it was apparently not working all that well. Note that this brings back the bug where the erase alpha paint tool won't display correctly, since the UV image editor just draws images in key alpha now. --- source/blender/makesdna/DNA_image_types.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source/blender/makesdna/DNA_image_types.h') diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h index bc94f807baa..d5e4b7a1142 100644 --- a/source/blender/makesdna/DNA_image_types.h +++ b/source/blender/makesdna/DNA_image_types.h @@ -58,7 +58,6 @@ typedef struct ImageUser { /* iuser->flag */ #define IMA_ANIM_ALWAYS 1 #define IMA_ANIM_REFRESHED 2 -#define IMA_DO_PREMUL 4 typedef struct Image { ID id; @@ -109,12 +108,7 @@ typedef struct Image { #define IMA_REFLECT 16 #define IMA_NOCOLLECT 32 #define IMA_ANTIALI 64 - -/*used to be IMA_DO_PREMUL. Note that - in theory, in should be possible - to use this flag position if necassary, - since this is only used in do_versions.*/ -#define IMA_OLDFLAG 128 +#define IMA_DO_PREMUL 128 /* tpageflag */ #define IMA_TILES 1 -- cgit v1.2.3