Small fix: Always show the 'brush' button in texture panel, so it's possible to turn...
authorMatt Ebb <matt@mke3.net>
Tue, 26 Jan 2010 00:59:53 +0000 (00:59 +0000)
committerMatt Ebb <matt@mke3.net>
Tue, 26 Jan 2010 00:59:53 +0000 (00:59 +0000)
release/scripts/ui/properties_texture.py

index ebe64c3d459f5c2696a5fc2d231cd9cde10e8244..3631fb407845afcf9227e004a7dda91bd50b06f2 100644 (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: