[Bf-blender-cvs] [582fbda18fa] master: Fix Sculpt 2D falloff, missing brush caused crash

Campbell Barton noreply at git.blender.org
Tue Oct 10 10:52:42 CEST 2017


Commit: 582fbda18faea33395f85a8924fae4c64f070ff3
Author: Campbell Barton
Date:   Tue Oct 10 19:49:31 2017 +1100
Branches: master
https://developer.blender.org/rB582fbda18faea33395f85a8924fae4c64f070ff3

Fix Sculpt 2D falloff, missing brush caused crash

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

M	source/blender/editors/sculpt_paint/sculpt.c

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

diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 84bb4652d33..1f0d8e5d29b 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -941,7 +941,7 @@ static void calc_area_center(
 
 	/* Intentionally set 'sd' to NULL since we share logic with vertex paint. */
 	SculptThreadedTaskData data = {
-		.sd = NULL, .ob = ob, .nodes = nodes, .totnode = totnode,
+		.sd = NULL, .ob = ob, .brush = brush, .nodes = nodes, .totnode = totnode,
 		.has_bm_orco = has_bm_orco, .area_cos = area_cos, .area_nos = NULL, .count = count,
 	};
 	BLI_mutex_init(&data.mutex);



More information about the Bf-blender-cvs mailing list