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.
This commit is contained in:
Antonio Vazquez 2020-11-14 09:44:55 +01:00
parent 83d0810a9f
commit a3ce05d00e
Notes: blender-bot 2024-05-02 21:33:31 +02:00
Referenced by issue #82730, Huion Windows Ink no presure
1 changed files with 4 additions and 1 deletions

View File

@ -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;