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>2020-01-21 13:50:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-01-21 13:50:15 +0300
commitf10d190240a135f4e26058eb49a787f9178ceb71 (patch)
treee189525b2785f7945800cd5c8c921ae7cf2ab8fb /source/blender/editors/mesh
parent463941b6a17369d9cdc8030c03b261763837b13d (diff)
parent5a29356b4d6b512bcb7faee85b0fe360437ac227 (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_loopcut.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c
index fd5f35e7596..ef05eb4ffda 100644
--- a/source/blender/editors/mesh/editmesh_loopcut.c
+++ b/source/blender/editors/mesh/editmesh_loopcut.c
@@ -636,7 +636,7 @@ static int loopcut_modal(bContext *C, wmOperator *op, const wmEvent *event)
if (cuts != lcd->cuts) {
/* allow zero so you can backspace and type in a value
* otherwise 1 as minimum would make more sense */
- lcd->cuts = clamp_i(cuts, 0, SUBD_CUTS_MAX);
+ lcd->cuts = clamp_f(cuts, 0, SUBD_CUTS_MAX);
RNA_int_set(op->ptr, "number_cuts", (int)lcd->cuts);
ringsel_find_edge(lcd, (int)lcd->cuts);
show_cuts = true;