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:
parent
68e86c4816
commit
29e5c330cf
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue