Fix Sculpt 2D falloff, missing brush caused crash
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user