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:
authorAntony Riakiotakis <kalast@gmail.com>2013-03-10 04:58:09 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-03-10 04:58:09 +0400
commit948b92ae8c17cb2e9aeaa808702c61fe7eb41f3e (patch)
tree8e0a2de27a7f50f62a3f0b17578a98d1afd415cb /release
parent56538ea685672fd882bbac81b0b4223dfaa3f7ce (diff)
Time to start reaping the benefits of code unification. Support for
pressure spacing across all paint systems (was supported only for texture painting earlier). Also, switch paint code to use the new code path from now on. No shift-Lclick required anymore.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d_toolbar.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index a677c9d8568..e5e2b3ad8a7 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -808,9 +808,10 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel):
if brush.use_space:
col.separator()
- row = col.row()
+ row = col.row(align=True)
row.active = brush.use_space
row.prop(brush, "spacing", text="Spacing")
+ row.prop(brush, "use_pressure_spacing", toggle=True, text="")
if brush.sculpt_capabilities.has_smooth_stroke:
col = layout.column()
@@ -853,9 +854,10 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel):
col.active = brush.sculpt_capabilities.has_spacing
col.prop(brush, "use_space")
- row = col.row()
+ row = col.row(align=True)
row.active = brush.use_space
row.prop(brush, "spacing", text="Spacing")
+ row.prop(brush, "use_pressure_spacing", toggle=True, text="")
class VIEW3D_PT_tools_brush_curve(Panel, View3DPaintPanel):