Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2022-10-11 12:20:39 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-10-11 12:20:48 +0300
commit2590626e77ad5d3d35cdb760925e3e5e8a153525 (patch)
treee57b9d8a85635a96e527306a6f56bd86cd3ddb9f /source/blender/gpencil_modifiers
parent2bacf1cb26fca29091b9e249436adafc379434c0 (diff)
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.
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpenciloutline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpenciloutline.c b/source/blender/gpencil_modifiers/intern/MOD_gpenciloutline.c
index 9a0ee4d9d92..387e3c2d5ce 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpenciloutline.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpenciloutline.c
@@ -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);
}
}