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:
authorAntonio Vazquez <blendergit@gmail.com>2016-05-08 04:38:54 +0300
committerJoshua Leung <aligorith@gmail.com>2016-05-08 15:53:51 +0300
commit9dbe7bbe9a943ffd18fa670c4f68b4f90a6fc773 (patch)
treed2b62543842dbe02f796cedaa0e6d78f62126b81 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parentdc78e47b770b33645f3cda1a4750422cd5105d6b (diff)
D1886: GPencil - Add smooth iterations parameter to get better quality
After some test, a new iteration parameter has been added in order to apply repetitive smoothing to the stroke. By default 1 iteration is applied, but can used any number between 1 and 3. The repetition uses different levels of intensity from 100% of the defined smooth factor for the first loop, 50% for the second and 25% for the third. We use in each loop a smaller value in order to avoid deform too much the stroke.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 894160c2c16..698a9f53119 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -629,6 +629,8 @@ class GreasePencilDataPanel:
col = layout.column(align=True)
col.label(text="New Stroke Quality:")
col.prop(gpl, "pen_smooth_factor")
+ col.prop(gpl, "pen_smooth_steps")
+ col.separator()
col.prop(gpl, "pen_subdivision_steps")