diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-03-02 17:45:15 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-03-03 18:12:25 +0300 |
commit | b39273c071be288a3cc587eb211d0357ed53d97f (patch) | |
tree | a7d6bb12514cd9e1a9c14ca0b1702be55cdf3562 /source | |
parent | 4b2b5fe4b8d3b97a90691474111894e7ae7b506a (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')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 1 |
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); |