Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2022-01-28 13:19:27 +0300
committerJeroen Bakker <jeroen@blender.org>2022-01-28 13:48:47 +0300
commitdcb7b3f9f78484840edc60bc4cf711823b7eec17 (patch)
tree70682ed0fa9ea2b44562ecbda0c18858843950ed /source/blender/draw/engines/image/image_private.hh
parent379814a1184312aa3714491b92bf5b2ea94cce23 (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.hh1
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.