diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-01-28 13:19:27 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-01-28 13:48:47 +0300 |
commit | dcb7b3f9f78484840edc60bc4cf711823b7eec17 (patch) | |
tree | 70682ed0fa9ea2b44562ecbda0c18858843950ed /source/blender/draw/engines/image/image_private.hh | |
parent | 379814a1184312aa3714491b92bf5b2ea94cce23 (diff) |
Image Engine: Fix issue show alpha flag not reset.
After showing the alpha in the image editor the setting was not reset
so all images in the editor showed as being transparent.
This commit fixes this by resetting the flag before updating.
Diffstat (limited to 'source/blender/draw/engines/image/image_private.hh')
-rw-r--r-- | source/blender/draw/engines/image/image_private.hh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/engines/image/image_private.hh b/source/blender/draw/engines/image/image_private.hh index c8968ddf9c6..6d665db4c41 100644 --- a/source/blender/draw/engines/image/image_private.hh +++ b/source/blender/draw/engines/image/image_private.hh @@ -54,7 +54,6 @@ struct IMAGE_Data { #define IMAGE_DRAW_FLAG_APPLY_ALPHA (1 << 1) #define IMAGE_DRAW_FLAG_SHUFFLING (1 << 2) #define IMAGE_DRAW_FLAG_DEPTH (1 << 3) -#define IMAGE_DRAW_FLAG_DO_REPEAT (1 << 4) /** * Abstract class for a drawing mode of the image engine. |