Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-10-10 11:49:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-10 11:52:11 +0300
commit582fbda18faea33395f85a8924fae4c64f070ff3 (patch)
tree20b7b687e3450712735383c2c676cb3ff2f2fcb4 /source/blender/editors/sculpt_paint/sculpt.c
parent8d73ba58b6935e8cb4e0d48ecb84d47521f4c61b (diff)
Fix Sculpt 2D falloff, missing brush caused crash
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
1 files changed, 1 insertions, 1 deletions
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);