Fix use of removed Image.use_alpha property

Change missing from 7aaa7aa9dd79b8c6
This commit is contained in:
Campbell Barton 2019-06-06 14:42:51 +10:00
parent 7944a1aede
commit c257e1a298

@ -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")