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:
authorCampbell Barton <ideasman42@gmail.com>2019-06-06 07:42:51 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-06 07:45:11 +0300
commitc257e1a2988df786950b75eedb9e3233f2e97631 (patch)
treeeb9d57c82487a7bfc64c7de9d3188925cc897987
parent7944a1aede0d1bb5fa1eb75c49a64c98cf4ba7c0 (diff)
Fix use of removed Image.use_alpha property
Change missing from 7aaa7aa9dd79b8c6
-rw-r--r--release/scripts/startup/bl_ui/properties_texture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py
index 946083ea4e9..41c17831c2c 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -438,7 +438,7 @@ class TEXTURE_PT_image_alpha(TextureTypePanel, Panel):
tex = context.texture
col = layout.column()
- col.active = bool(tex.image and tex.image.use_alpha)
+ col.active = bool(tex.image and tex.image.alpha_mode != 'NONE')
col.prop(tex, "use_calculate_alpha", text="Calculate")
col.prop(tex, "invert_alpha", text="Invert")