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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-16 21:05:53 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-03-16 21:05:53 +0300
commit391526c20e7ba0e818241f4dedb3f40aa51fd47a (patch)
tree707f856b9e68fbcd2fea836c6d93ac524fcb1d58 /release/scripts
parentabb7a25426a630f5a5209987a78530f70c0dfa94 (diff)
option to lock alpha while projection painting.
(commit 27538 by Campbell from render25 branch)
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/ui/space_view3d_toolbar.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/ui/space_view3d_toolbar.py b/release/scripts/ui/space_view3d_toolbar.py
index a4b908bf1d1..10718883c3c 100644
--- a/release/scripts/ui/space_view3d_toolbar.py
+++ b/release/scripts/ui/space_view3d_toolbar.py
@@ -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: