Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-01 08:27:59 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-01 08:27:59 +0400
commitdcb3a5cbf409372fa3b4dc1d074af2e42b5da5c9 (patch)
treef5759afaa38b1b1e60c7b0057a8c82b8db7b6624 /source/blender
parentb6596467d909e9b77233182355f7fdee1d98dbf2 (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')
-rw-r--r--source/blender/editors/mesh/editmesh_select.c4
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[] = {