option to lock alpha while projection painting.
[blender.git] / release / scripts / ui / space_view3d_toolbar.py
index a4b908bf1d1ff53f0e227e79d6da349c31c14855..10718883c3c04e508f3fdcb39f1e44d6c1c92097 100644 (file)
@@ -592,6 +592,11 @@ class VIEW3D_PT_tools_brush(PaintPanel):
 
             col.prop(brush, "blend", text="Blend")
 
+            col = layout.column()
+            col.active = (brush.blend not in ('ERASE_ALPHA', 'ADD_ALPHA'))
+            col.prop(brush, "use_alpha")
+            
+
         # Weight Paint Mode #
 
         elif context.weight_paint_object and brush: