diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-12 23:51:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-12 23:51:31 +0400 |
commit | ec2464ac5f95c93b9da3a1927fda5cd7680c2c85 (patch) | |
tree | a7305a5ca326c7975ca8c9abcaccd9a7c5c41da6 /release/scripts/startup/bl_ui/space_view3d_toolbar.py | |
parent | 679609fbede36faf153994c104315eec68f9eadd (diff) |
code cleanup: unnecessary shadowing and some minor pep8 edits.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index c40b9807f20..d01df810307 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -913,7 +913,7 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel): row.prop(brush, "use_relative_jitter", text="", icon='UNLOCKED') row.prop(brush, "jitter_absolute") row.prop(brush, "use_pressure_jitter", toggle=True, text="") - + if brush.sculpt_capabilities.has_smooth_stroke: col = layout.column() col.separator() @@ -945,9 +945,8 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel): sub.active = brush.use_smooth_stroke sub.prop(brush, "smooth_stroke_radius", text="Radius", slider=True) sub.prop(brush, "smooth_stroke_factor", text="Factor", slider=True) - - layout.prop(settings, "input_samples") + layout.prop(settings, "input_samples") class VIEW3D_PT_tools_brush_curve(Panel, View3DPaintPanel): @@ -1217,7 +1216,7 @@ class VIEW3D_PT_tools_projectpaint(View3DPanel, Panel): row = layout.row() row.prop(ipaint, "use_normal_falloff") - + sub = row.row() sub.active = (ipaint.use_normal_falloff) sub.prop(ipaint, "normal_angle", text="") |