GPencil: Fix dash modifier missing vertex color.

The original code did not copy vertex color to the generated stroke,
now fixed.
This commit is contained in:
YimingWu 2021-11-05 20:02:35 +08:00
parent 016a575002
commit d7f4fdf845
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ static bool stroke_dash(const bGPDstroke *gps,
stroke->points[is].z = p->z;
stroke->points[is].pressure = p->pressure * ds->radius;
stroke->points[is].strength = p->strength * ds->opacity;
copy_v4_v4(stroke->points[is].vert_color, p->vert_color);
}
BLI_addtail(r_strokes, stroke);