Small fix: Always show the 'brush' button in texture panel, so it's possible to turn it off in object mode.

This commit is contained in:
2010-01-26 00:59:53 +00:00
parent 56e5f2c5d5
commit aba738aa34

View File

@@ -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: