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:
authorCampbell Barton <ideasman42@gmail.com>2016-03-22 14:14:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-03-22 14:37:30 +0300
commit220a7a4fb1f2529655be545274f279b1588fad67 (patch)
treebdcbbd8870db26178e8928a5a9082b10c097cfa0 /source/blender/blenloader
parent29acdb48899a25c32726ee8411088d8086a5cdb4 (diff)
Weight Paint: blur now smooths connected weights
Previously it would average all points under the brush, giving an off feedback loop that often depended on the direction of the brush stroke, giving not-very-useful smearing effect. Now blend brush smooths between connected edges.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/versioning_defaults.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c
index be7bca4280b..ad7a3c5b9c4 100644
--- a/source/blender/blenloader/intern/versioning_defaults.c
+++ b/source/blender/blenloader/intern/versioning_defaults.c
@@ -250,6 +250,12 @@ void BLO_update_defaults_startup_blend(Main *bmain)
if (br) {
br->flag |= BRUSH_ORIGINAL_NORMAL;
}
+
+ /* increase strength, better for smoothing method */
+ br = (Brush *)BKE_libblock_find_name_ex(bmain, ID_BR, "Blur");
+ if (br) {
+ br->alpha = 1.0f;
+ }
}
}