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/shaders/engine_image_frag.glsl
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/shaders/engine_image_frag.glsl')
-rw-r--r--source/blender/draw/engines/image/shaders/engine_image_frag.glsl1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/engines/image/shaders/engine_image_frag.glsl b/source/blender/draw/engines/image/shaders/engine_image_frag.glsl
index 604f9b807b3..298487baab2 100644
--- a/source/blender/draw/engines/image/shaders/engine_image_frag.glsl
+++ b/source/blender/draw/engines/image/shaders/engine_image_frag.glsl
@@ -5,7 +5,6 @@
#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)
uniform sampler2D imageTexture;