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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-19 16:13:32 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-10-19 16:13:32 +0400
commita84a59b64e5d7bfe3be4bcf5c41b6c481ecde880 (patch)
tree73a18dab6e14519d26d41859507d8129af75fcab /source/blender/editors/mesh/loopcut.c
parent952322e71c7a44e5be9a4da510f697fa5d123fcd (diff)
Fix #19638: crash when assiging self in boolean modifier.
Also: * UI now takes ID self check flag into account so that e.g. it doesn't offer to the make object it's own parent. * Mesh loop cuts number of cuts had wrong limits. * Don't use mesh_get_derived_final in modifier stack, but ob->derivedFinal instead. Avoids crashes on dependency loops, and in case there is no loop it should have been created.
Diffstat (limited to 'source/blender/editors/mesh/loopcut.c')
-rw-r--r--source/blender/editors/mesh/loopcut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/loopcut.c b/source/blender/editors/mesh/loopcut.c
index 4ef25238a84..b7a37f74938 100644
--- a/source/blender/editors/mesh/loopcut.c
+++ b/source/blender/editors/mesh/loopcut.c
@@ -480,5 +480,5 @@ void MESH_OT_loopcut (wmOperatorType *ot)
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_BLOCKING;
/* properties */
- RNA_def_int(ot->srna, "number_cuts", 1, 1, 10, "Number of Cuts", "", 1, INT_MAX);
+ RNA_def_int(ot->srna, "number_cuts", 1, 1, INT_MAX, "Number of Cuts", "", 1, 10);
}