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:
authorMatt Ebb <matt@mke3.net>2010-01-26 03:59:53 +0300
committerMatt Ebb <matt@mke3.net>2010-01-26 03:59:53 +0300
commitaba738aa34bf8078e0b6e698166576faf1462d5d (patch)
tree06525592650970222f47f923f829b21deded9e5f /release
parent56e5f2c5d5e18543e795177f3d9eac7731870e9a (diff)
Small fix: Always show the 'brush' button in texture panel, so it's possible to turn it off in object mode.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_texture.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/release/scripts/ui/properties_texture.py b/release/scripts/ui/properties_texture.py
index ebe64c3d459..3631fb40784 100644
--- a/release/scripts/ui/properties_texture.py
+++ b/release/scripts/ui/properties_texture.py
@@ -121,13 +121,8 @@ class TEXTURE_PT_context_texture(TextureButtonsPanel):
if wide_ui:
col = split.column()
-
- if (not space.pin_id) and (
- context.sculpt_object or
- context.vertex_paint_object or
- context.weight_paint_object or
- context.texture_paint_object):
+ if not space.pin_id:
col.prop(space, "brush_texture", text="Brush", toggle=True)
if tex: