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:
authorCampbell Barton <ideasman42@gmail.com>2014-06-12 16:00:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-12 16:08:51 +0400
commit9d0cf523b5ba452d6152e2d38c69014c1ecdfb34 (patch)
tree4acc474e9de5769cb06bbbfe41bb1024c3bcdc30 /release
parent3f2b02398cb8f29e2ad72de0e0910f72e573fe4f (diff)
UI: correct __contains__ use, no need for substring check
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index c20c36bf454..904c7e38649 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1273,7 +1273,7 @@ class VIEW3D_PT_sculpt_dyntopo(Panel, View3DPaintPanel):
col = layout.column()
col.active = context.sculpt_object.use_dynamic_topology_sculpting
sub = col.column(align=True)
- sub.active = brush and brush.sculpt_tool not in ('MASK')
+ sub.active = (brush and brush.sculpt_tool != 'MASK')
if (sculpt.detail_type_method == 'CONSTANT'):
row = sub.row(align=True)
row.operator("sculpt.sample_detail_size", text="", icon='EYEDROPPER')