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-11 00:05:18 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-03-11 00:05:18 +0400
commit38feedcaacd2bd317ea68a57014cddb2f9ceaf15 (patch)
tree1cfaa822eaffe581764dbd6898dd265484ffd444 /release/scripts/startup/bl_ui/space_image.py
parent5a981db3ecfd63f1d09962141b07d968f28aee60 (diff)
Feature request for all paint systems that support it: Jittering in
absolute coordinates. This allows an artist to lower the brush radius while keeping the spread of the brush constant. A toggle under the jitter slider provides the option to switch between relative/absolute.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 01b67667cfb..6a8054dd5d6 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -698,8 +698,13 @@ class IMAGE_PT_paint(Panel, ImagePaintPanel):
self.prop_unified_strength(row, context, brush, "use_pressure_strength")
row = col.row(align=True)
- row.prop(brush, "jitter", slider=True)
+ if(brush.use_absolute_jitter):
+ row.prop(brush, "jitter_absolute", slider=True)
+ else:
+ row.prop(brush, "jitter", slider=True)
row.prop(brush, "use_pressure_jitter", toggle=True, text="")
+
+ col.prop(brush, "use_absolute_jitter")
col.prop(brush, "blend", text="Blend")