diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-01 08:27:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-01 08:27:59 +0400 |
commit | dcb3a5cbf409372fa3b4dc1d074af2e42b5da5c9 (patch) | |
tree | f5759afaa38b1b1e60c7b0057a8c82b8db7b6624 /source/blender/editors/mesh | |
parent | b6596467d909e9b77233182355f7fdee1d98dbf2 (diff) |
fix for crash in own recent commit to add comparison options for select-similar, missing NULL terminator item in the array.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_select.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c index bb90e24e9be..d0ca9a78abd 100644 --- a/source/blender/editors/mesh/editmesh_select.c +++ b/source/blender/editors/mesh/editmesh_select.c @@ -674,7 +674,9 @@ static int unified_findnearest(ViewContext *vc, BMVert **r_eve, BMEdge **r_eed, static EnumPropertyItem prop_similar_compare_types[] = { {SIM_CMP_EQ, "EQUAL", 0, "Equal", ""}, {SIM_CMP_GT, "GREATER", 0, "Greater", ""}, - {SIM_CMP_LT, "LESS", 0, "Less", ""} + {SIM_CMP_LT, "LESS", 0, "Less", ""}, + + {0, NULL, 0, NULL, NULL} }; static EnumPropertyItem prop_similar_types[] = { |