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:
authorPablo Dobarro <pablodp606@gmail.com>2020-03-02 17:45:15 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-03-03 18:12:25 +0300
commitb39273c071be288a3cc587eb211d0357ed53d97f (patch)
treea7d6bb12514cd9e1a9c14ca0b1702be55cdf3562 /source/blender/blenkernel
parent4b2b5fe4b8d3b97a90691474111894e7ae7b506a (diff)
Fix hardness not resetting when using reset brush
Just add it to the list or properties to reset from DNA_brush_defaults Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6992
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/brush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 1d3965fc7c3..7eef2bac3e8 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -78,6 +78,7 @@ static void brush_defaults(Brush *brush)
FROM_DEFAULT(weight);
FROM_DEFAULT(size);
FROM_DEFAULT(alpha);
+ FROM_DEFAULT(hardness);
FROM_DEFAULT(autosmooth_factor);
FROM_DEFAULT(topology_rake_factor);
FROM_DEFAULT(crease_pinch_factor);