Fix T60383: mesh merge type callback returned NULL

This commit is contained in:
Jacques Lucke 2019-01-15 18:27:21 +01:00
parent e4c78436c6
commit a0df26f004
Notes: blender-bot 2023-02-14 04:07:53 +01:00
Referenced by issue #60557, Merge to last and first disappear in the menus when using select box, select circle, and select lasso
Referenced by issue #60383, merge.merge keymap with type "at last" crashes blender when opening mesh(global) keymap tab in user prefs
1 changed files with 2 additions and 1 deletions

View File

@ -2885,7 +2885,8 @@ static const EnumPropertyItem *merge_type_itemf(bContext *C, PointerRNA *UNUSED(
return item;
}
return NULL;
/* Get all items e.g. when creating keymap item. */
return merge_type_items;
}
void MESH_OT_merge(wmOperatorType *ot)