diff options
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilweight_angle.c')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilweight_angle.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilweight_angle.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilweight_angle.c index fe35c7036a9..e90408b1a94 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilweight_angle.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilweight_angle.c @@ -152,15 +152,7 @@ static void bakeModifier(struct Main *UNUSED(bmain), GpencilModifierData *md, Object *ob) { - bGPdata *gpd = ob->data; - - LISTBASE_FOREACH (bGPDlayer *, gpl, &gpd->layers) { - LISTBASE_FOREACH (bGPDframe *, gpf, &gpl->frames) { - LISTBASE_FOREACH (bGPDstroke *, gps, &gpf->strokes) { - deformStroke(md, depsgraph, ob, gpl, gpf, gps); - } - } - } + generic_bake_deform_stroke(depsgraph, md, ob, false, deformStroke); } static void foreachIDLink(GpencilModifierData *md, Object *ob, IDWalkFunc walk, void *userData) |