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>2020-11-14 11:44:55 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-11-14 11:44:55 +0300
commita3ce05d00e3762769fa53cb8955ed2d3a66e1382 (patch)
treec7c2205732f5bab49a13314575c392b770e188d5 /source/blender/draw/intern
parent83d0810a9ff00c22208a4d94bfb9ba5c448c8861 (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/blender/draw/intern')
-rw-r--r--source/blender/draw/intern/draw_cache_impl_gpencil.c5
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;