Fix Sculpt 2D falloff, missing brush caused crash

This commit is contained in:
2017-10-10 19:49:31 +11:00
parent 8d73ba58b6
commit 582fbda18f

View File

@@ -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);