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.

This commit is contained in:
Campbell Barton
2013-01-16 19:46:30 +00:00
parent f1cd290e08
commit 677f61baf5

View File

@@ -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()