Fix [#29502] Brush texture Preview panel doesnt show Alpha checkbox
[blender.git] / release / scripts / startup / bl_ui / properties_texture.py
index 9f67edd76532f58c2f221d3f069e8fc256e229be..d16b2f15f524cead811b46928601f1eeb51a8bbe 100644 (file)
@@ -166,6 +166,10 @@ class TEXTURE_PT_preview(TextureButtonsPanel, Panel):
             layout.template_preview(tex, parent=idblock, slot=slot)
         else:
             layout.template_preview(tex, slot=slot)
+            
+        #Show Alpha Button for Brush Textures, see #29502
+        if context.space_data.texture_context == 'BRUSH':
+            layout.prop(tex, "use_preview_alpha")
 
 
 class TEXTURE_PT_colors(TextureButtonsPanel, Panel):