[Bf-blender-cvs] [d598132c960] temp-lineart-contained: GPencil: Fix callback parameter list error
Antonio Vazquez
noreply at git.blender.org
Sat Dec 19 06:18:54 CET 2020
Commit: d598132c960811fabb18b959232513f7ec22ba93
Author: Antonio Vazquez
Date: Sat Nov 14 09:44:55 2020 +0100
Branches: temp-lineart-contained
https://developer.blender.org/rBd598132c960811fabb18b959232513f7ec22ba93
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.
===================================================================
M source/blender/draw/intern/draw_cache_impl_gpencil.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list