[Bf-blender-cvs] [15cebd8565d] master: Fix T81901: Use the 2.90 scrape brush preset as default

Pablo Dobarro noreply at git.blender.org
Wed Oct 21 17:52:58 CEST 2020


Commit: 15cebd8565d093e141a1ca0332eee372fd4ba89e
Author: Pablo Dobarro
Date:   Tue Oct 20 22:59:12 2020 +0200
Branches: master
https://developer.blender.org/rB15cebd8565d093e141a1ca0332eee372fd4ba89e

Fix T81901: Use the 2.90 scrape brush preset as default

The new preset I made for 2.91 is way more controllable with lower
strength values and does not have the accumulate bug, but until the
brush management is in place to ship multiple versions of the brush,
probably most people expect something closer to the old version to be
the default.

Reviewed By: sergey

Maniphest Tasks: T81901

Differential Revision: https://developer.blender.org/D9289

===================================================================

M	source/blender/blenkernel/intern/brush.c

===================================================================

diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index da4d9ea485c..17243b328e8 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -1707,11 +1707,10 @@ void BKE_brush_sculpt_reset(Brush *br)
     case SCULPT_TOOL_SCRAPE:
     case SCULPT_TOOL_FILL:
       br->alpha = 0.7f;
-      br->area_radius_factor = 1.0f;
+      br->area_radius_factor = 0.5f;
       br->spacing = 7;
       br->flag |= BRUSH_ACCUMULATE;
       br->flag |= BRUSH_INVERT_TO_SCRAPE_FILL;
-      br->flag2 |= BRUSH_AREA_RADIUS_PRESSURE;
       break;
     case SCULPT_TOOL_ROTATE:
       br->alpha = 1.0;



More information about the Bf-blender-cvs mailing list