diff options
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c index f0838e4522d..09cce3f1ab4 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c @@ -228,6 +228,7 @@ static void deformStroke(GpencilModifierData *md, mmd->flag & GP_HOOK_INVERT_MATERIAL)) { return; } + bGPdata *gpd = ob->data; /* init struct */ tData.curfalloff = mmd->curfalloff; @@ -273,7 +274,7 @@ static void deformStroke(GpencilModifierData *md, gpencil_hook_co_apply(&tData, weight, pt); } /* Calc geometry data. */ - BKE_gpencil_stroke_geometry_update(gps); + BKE_gpencil_stroke_geometry_update(gpd, gps); } /* FIXME: Ideally we be doing this on a copy of the main depsgraph |