diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-11-14 11:44:55 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-11-14 11:44:55 +0300 |
commit | a3ce05d00e3762769fa53cb8955ed2d3a66e1382 (patch) | |
tree | c7c2205732f5bab49a13314575c392b770e188d5 /source | |
parent | 83d0810a9ff00c22208a4d94bfb9ba5c448c8861 (diff) |
GPencil: Fix callback parameter list error
In the previous commit the bGPDframe parameter was removed, but this parameter is required to keep the same function signature.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_gpencil.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_gpencil.c b/source/blender/draw/intern/draw_cache_impl_gpencil.c index 81208b2f3bf..4e809ad45fe 100644 --- a/source/blender/draw/intern/draw_cache_impl_gpencil.c +++ b/source/blender/draw/intern/draw_cache_impl_gpencil.c @@ -771,7 +771,10 @@ static char gpencil_beztriple_vflag_get(char flag, return vflag; } -static void gpencil_edit_curve_stroke_iter_cb(bGPDlayer *gpl, bGPDstroke *gps, void *thunk) +static void gpencil_edit_curve_stroke_iter_cb(bGPDlayer *gpl, + bGPDframe *UNUSED(gpf), + bGPDstroke *gps, + void *thunk) { if (gpl->flag & GP_LAYER_LOCKED) { return; |