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>2015-07-07 16:09:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-07 16:10:08 +0300
commit30b7aafe33742f994c37d9abef6c128f2891c845 (patch)
tree4bec9ae1fbb65150de78665de901391eee8ac5d8 /source/blender/editors/armature
parent3dc86f586cf75dc34dad45d41e421d252a39beb4 (diff)
Correct default enum values
Had assert creating cheat sheet
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/armature_select.c2
1 files changed, 1 insertions, 1 deletions
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);
}