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:
authorJoshua Leung <aligorith@gmail.com>2009-02-10 01:59:26 +0300
committerJoshua Leung <aligorith@gmail.com>2009-02-10 01:59:26 +0300
commit2249c61d034bf35d26f3508e0397136c66f52da0 (patch)
tree305f189d0e5be62c479d7bd9993b49475cecbff6 /source/blender/editors/armature
parent283926aa2d0c6366d92a4f38e994e843b73659f6 (diff)
2.5 Bugfixes:
Adjusted ranges for subdivide operators (Mesh + Armature). * The Mesh one was causing lockups as its range started from 0. Now it starts from 1. * Tweaked the soft-limits for subdivide operators to be easier to use (1-10 instead of 0-100)
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/editarmature.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c
index b82c0d2a6c8..48078a77e85 100644
--- a/source/blender/editors/armature/editarmature.c
+++ b/source/blender/editors/armature/editarmature.c
@@ -3323,7 +3323,7 @@ void ARMATURE_OT_subdivide_multi(wmOperatorType *ot)
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
/* Properties */
- RNA_def_int(ot->srna, "number_cuts", 2, 1, 100, "Number of Cuts", "", 1, INT_MAX);
+ RNA_def_int(ot->srna, "number_cuts", 2, 1, 10, "Number of Cuts", "", 1, INT_MAX);
}
@@ -3379,7 +3379,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, 100, "Number of Cuts", "", 1, INT_MAX);
+ RNA_def_int(ot->srna, "number_cuts", 2, 1, 10, "Number of Cuts", "", 1, INT_MAX);
}
/* ----------- */