From 30b7aafe33742f994c37d9abef6c128f2891c845 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 7 Jul 2015 23:09:08 +1000 Subject: Correct default enum values Had assert creating cheat sheet --- source/blender/editors/armature/armature_select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/armature/armature_select.c') diff --git a/source/blender/editors/armature/armature_select.c b/source/blender/editors/armature/armature_select.c index 5aa2c628252..f4575105426 100644 --- a/source/blender/editors/armature/armature_select.c +++ b/source/blender/editors/armature/armature_select.c @@ -910,7 +910,7 @@ void ARMATURE_OT_select_similar(wmOperatorType *ot) ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; /* properties */ - ot->prop = RNA_def_enum(ot->srna, "type", prop_similar_types, 0, "Type", ""); + ot->prop = RNA_def_enum(ot->srna, "type", prop_similar_types, SIMEDBONE_LENGTH, "Type", ""); RNA_def_float(ot->srna, "threshold", 0.1f, 0.0f, 1.0f, "Threshold", "", 0.0f, 1.0f); } -- cgit v1.2.3