diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-16 23:46:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-16 23:46:30 +0400 |
commit | 677f61baf5d1339d507519fefe6b145d698cfc4d (patch) | |
tree | 6a6d2e61920065c0988fb2ef6aac81de6d771a08 /release/scripts | |
parent | f1cd290e08eb7ae2b1b9c77fb8442a949e3e8c88 (diff) |
sculpt mode: there was no UI access to the brushes 'use_space' option, yet its used to draw the interface and by sculpting tool as well.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 1653e8fab7e..d8c581f6c3f 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -773,6 +773,11 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel): col.separator() col.prop(brush, "rate", text="Rate", slider=True) + # XXX, not sure where this should go, but sculpt brush uses space. + col = layout.column() + col.active = brush.sculpt_capabilities.has_spacing + col.prop(brush, "use_space") + if brush.use_space: col.separator() row = col.row() |