diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-11-30 05:42:10 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-11-30 05:42:10 +0300 |
commit | caa11aae048639e6569d22c11af256447c8eb395 (patch) | |
tree | f65f5375d2d89f87b29abd0c3bd07c0d7f034377 /source/blender/editors/armature | |
parent | 9b0a3ee9ce7c2edf93d84457420a46703eb9c82f (diff) |
Assorted tweaks for subdivide operator ranges - soft/hard ranges were swapped.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/editarmature.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c index 38daa22bbc7..a9efe4be9cb 100644 --- a/source/blender/editors/armature/editarmature.c +++ b/source/blender/editors/armature/editarmature.c @@ -1139,7 +1139,7 @@ static int separate_armature_exec (bContext *C, wmOperator *op) void ARMATURE_OT_separate (wmOperatorType *ot) { /* identifiers */ - ot->name= "Separate Armature"; + ot->name= "Separate Bones"; ot->idname= "ARMATURE_OT_separate"; ot->description= "Isolate selected bones into a separate armature."; @@ -3573,7 +3573,7 @@ void ARMATURE_OT_subdivide_multi(wmOperatorType *ot) ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; /* Properties */ - RNA_def_int(ot->srna, "number_cuts", 2, 1, 10, "Number of Cuts", "", 1, INT_MAX); + RNA_def_int(ot->srna, "number_cuts", 2, 1, INT_MAX, "Number of Cuts", "", 1, 10); } @@ -3631,7 +3631,7 @@ void ARMATURE_OT_subdivs(wmOperatorType *ot) RNA_def_enum(ot->srna, "type", type_items, 0, "Type", ""); /* this is temp, the ops are different, but they are called from subdivs, so all the possible props should be here as well*/ - RNA_def_int(ot->srna, "number_cuts", 2, 1, 10, "Number of Cuts", "", 1, INT_MAX); + RNA_def_int(ot->srna, "number_cuts", 2, 1, INT_MAX, "Number of Cuts", "", 1, 10); } /* ----------- */ |