Fix T99383: Wrong origdata type in color filter
This commit is contained in:
parent
cb39058f2f
commit
7357176b57
Notes:
blender-bot
2023-10-13 01:54:23 +02:00
Referenced by issue #99383, Regression: Crash in sculpting with color filter
|
@ -93,7 +93,7 @@ static void color_filter_task_cb(void *__restrict userdata,
|
|||
const int mode = data->filter_type;
|
||||
|
||||
SculptOrigVertData orig_data;
|
||||
SCULPT_orig_vert_data_init(&orig_data, data->ob, data->nodes[n], SCULPT_UNDO_COORDS);
|
||||
SCULPT_orig_vert_data_init(&orig_data, data->ob, data->nodes[n], SCULPT_UNDO_COLOR);
|
||||
|
||||
PBVHVertexIter vd;
|
||||
BKE_pbvh_vertex_iter_begin (ss->pbvh, data->nodes[n], vd, PBVH_ITER_UNIQUE) {
|
||||
|
|
Loading…
Reference in New Issue