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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-20 18:01:33 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-20 19:54:08 +0400
commit9f2f2ed546b6577b246f7b41e79d2c5c17b77e70 (patch)
treecbd39108257318cfb3f7315f637c2d1913f48e1c /release
parenta502959e4bfac258146c4fd1fe622468ec3779c1 (diff)
Fix part of T38280: UI inconsistencies in the texture/image paint stroke panels.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py26
1 files changed, 15 insertions, 11 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index c9a79575ef0..cb22ee7a580 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -834,9 +834,6 @@ class IMAGE_PT_paint_stroke(BrushButtonsPanel, Panel):
brush = toolsettings.brush
col = layout.column()
- col.prop(toolsettings, "input_samples")
-
- col = layout.column()
col.label(text="Stroke Method:")
@@ -860,6 +857,18 @@ class IMAGE_PT_paint_stroke(BrushButtonsPanel, Panel):
col = layout.column()
col.separator()
+ row = col.row(align=True)
+ if brush.use_relative_jitter:
+ row.prop(brush, "use_relative_jitter", text="", icon='LOCKED')
+ row.prop(brush, "jitter", slider=True)
+ else:
+ row.prop(brush, "use_relative_jitter", text="", icon='UNLOCKED')
+ row.prop(brush, "jitter_absolute")
+ row.prop(brush, "use_pressure_jitter", toggle=True, text="")
+
+ col = layout.column()
+ col.separator()
+
col.prop(brush, "use_smooth_stroke")
sub = col.column()
@@ -869,14 +878,9 @@ class IMAGE_PT_paint_stroke(BrushButtonsPanel, Panel):
col.separator()
- row = col.row(align=True)
- if brush.use_relative_jitter:
- row.prop(brush, "use_relative_jitter", text="", icon='LOCKED')
- row.prop(brush, "jitter", slider=True)
- else:
- row.prop(brush, "use_relative_jitter", text="", icon='UNLOCKED')
- row.prop(brush, "jitter_absolute")
- row.prop(brush, "use_pressure_jitter", toggle=True, text="")
+ col.prop(toolsettings, "input_samples")
+
+ col.separator()
col.prop(brush, "use_wrap")