[Bf-blender-cvs] [4d1193feb32] blender2.8: UI: correct jitter button
Campbell Barton
noreply at git.blender.org
Sun Jun 10 16:08:33 CEST 2018
Commit: 4d1193feb3206516e3142b68bf0d827e256e10d9
Author: Campbell Barton
Date: Sun Jun 10 16:08:19 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB4d1193feb3206516e3142b68bf0d827e256e10d9
UI: correct jitter button
===================================================================
M release/scripts/startup/bl_ui/space_view3d_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 33d4555811d..1550b661971 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -804,12 +804,16 @@ class VIEW3D_PT_tools_brush_stroke(Panel, View3DPaintPanel):
if brush.sculpt_capabilities.has_jitter:
col.separator()
- row = col.row(align=True)
+ colsub = col.split(0.5)
+ row = colsub.row(align=True)
+ row.alignment = 'RIGHT'
+ row.label("Jitter")
+ row = colsub.row(align=True)
row.prop(brush, "use_relative_jitter", icon_only=True)
if brush.use_relative_jitter:
- row.prop(brush, "jitter", slider=True)
+ row.prop(brush, "jitter", slider=True, text="")
else:
- row.prop(brush, "jitter_absolute")
+ row.prop(brush, "jitter_absolute", text="")
row.prop(brush, "use_pressure_jitter", toggle=True, text="")
if brush.sculpt_capabilities.has_smooth_stroke:
More information about the Bf-blender-cvs
mailing list