Fix incorrect RNA type warning

Using the RNA type for regular modifiers instead of grease pencil
modifiers caused a warning in context.c.
This commit is contained in:
Hans Goudey 2020-12-14 15:12:18 -06:00
parent 49ec3cef69
commit 20bc1ab275
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ static bool gpencil_edit_modifier_poll(bContext *C)
* (not only from added 'local' ones). */
static bool gpencil_edit_modifier_liboverride_allowed_poll(bContext *C)
{
return gpencil_edit_modifier_poll_generic(C, &RNA_Modifier, 0, true);
return gpencil_edit_modifier_poll_generic(C, &RNA_GpencilModifier, 0, true);
}
static void gpencil_edit_modifier_properties(wmOperatorType *ot)