Fix T101741: GPencil Outline modifier removes unexpectedly strokes

The stroke could be tagged before modifier and was removed due  the tag.

Now, the tag is reset before to avoid this problem.
This commit is contained in:
Antonio Vazquez
2022-10-11 11:20:39 +02:00
parent 2bacf1cb26
commit 2590626e77

View File

@@ -209,6 +209,7 @@ static void generateStrokes(GpencilModifierData *md, Depsgraph *depsgraph, Objec
BKE_gpencil_layer_transform_matrix_get(depsgraph, ob, gpl, diff_mat);
LISTBASE_FOREACH_MUTABLE (bGPDstroke *, gps, &gpf->strokes) {
gps->flag &= ~GP_STROKE_TAG;
convert_stroke(md, ob, gpl, gpf, gps, viewmat, diff_mat);
}
}