WIP: Brush assets project #106303
|
@ -229,8 +229,8 @@ static void modify_geometry_set(ModifierData *md,
|
||||||
*grease_pencil, omd->influence, mask_memory);
|
*grease_pencil, omd->influence, mask_memory);
|
||||||
Vector<Drawing *> drawings = modifier::greasepencil::get_drawings_for_write(
|
Vector<Drawing *> drawings = modifier::greasepencil::get_drawings_for_write(
|
||||||
*grease_pencil, layer_mask, frame);
|
*grease_pencil, layer_mask, frame);
|
||||||
threading::parallel_for_each(drawings.index_range(), [&](int64_t i) {
|
threading::parallel_for_each(drawings, [&](Drawing *drawing) {
|
||||||
modify_curves(md, ctx, drawings[i]->strokes_for_write());
|
modify_curves(md, ctx, drawing->strokes_for_write());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue