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:
authorJacques Lucke <mail@jlucke.com>2019-04-23 13:31:37 +0300
committerJacques Lucke <mail@jlucke.com>2019-04-23 13:31:37 +0300
commitc043ab1cf3bce77248a8d7dfa42b2e9f8f9611aa (patch)
treef40b4fc2a457ab194ebcf942845943c8b49f854c /source/blender/blenkernel/intern/brush.c
parent32fe79b9ee88c8f91fefc1a2db55e86a81e8245c (diff)
Fix T63233: Set default blur kernel radius to 2.
Reviewers: jbakker Differential Revision: https://developer.blender.org/D4722
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 4ee3abcafeb..dcca6e2bf84 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -140,6 +140,9 @@ void BKE_brush_init(Brush *brush)
brush->sculpt_tool = SCULPT_TOOL_DRAW; /* sculpting defaults to the draw tool for new brushes */
+ /* A kernel radius of 1 has almost no effect (T63233). */
+ brush->blur_kernel_radius = 2;
+
/* the default alpha falloff curve */
BKE_brush_curve_preset(brush, CURVE_PRESET_SMOOTH);
}