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:
authorThomas Dinges <blender@dingto.org>2011-12-04 20:55:46 +0400
committerThomas Dinges <blender@dingto.org>2011-12-04 20:55:46 +0400
commitb550cd8c1e94e649a845b78e6a47c197bcd68766 (patch)
treee0ef4ddd3ed283a084634740bbf8ad9b6ee35442 /release
parent9c5ad4fb600e6b9be6bce448a141d59ce562382c (diff)
Fix [#29502] Brush texture Preview panel doesnt show Alpha checkbox
* Added to the py UI file, it would require some deeper changes to have it in the c Template, can be done later. * Fixed a typo.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_texture.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_texture.py b/release/scripts/startup/bl_ui/properties_texture.py
index 9f67edd7653..d16b2f15f52 100644
--- a/release/scripts/startup/bl_ui/properties_texture.py
+++ b/release/scripts/startup/bl_ui/properties_texture.py
@@ -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):