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:
Diffstat (limited to 'source/blender/bmesh/operators/bmo_subdivide.c')
-rw-r--r--source/blender/bmesh/operators/bmo_subdivide.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/bmesh/operators/bmo_subdivide.c b/source/blender/bmesh/operators/bmo_subdivide.c
index 310762e0e37..ce00441dcac 100644
--- a/source/blender/bmesh/operators/bmo_subdivide.c
+++ b/source/blender/bmesh/operators/bmo_subdivide.c
@@ -693,8 +693,8 @@ void esubdivide_exec(BMesh *bmesh, BMOperator *op)
fractal = BMO_slot_float_get(op, "fractal");
beauty = BMO_slot_int_get(op, "beauty");
cornertype = BMO_slot_int_get(op, "quadcornertype");
- singleedge = BMO_slot_int_get(op, "singleedge");
- gridfill = BMO_slot_int_get(op, "gridfill");
+ singleedge = BMO_slot_bool_get(op, "singleedge");
+ gridfill = BMO_slot_bool_get(op, "gridfill");
BLI_srandom(seed);
@@ -1022,8 +1022,8 @@ void BM_mesh_esubdivideflag(Object *UNUSED(obedit), BMesh *bm, int flag, float s
BMOperator op;
BMO_op_initf(bm, &op, "esubd edges=%he smooth=%f fractal=%f "
- "beauty=%d numcuts=%d quadcornertype=%d singleedge=%d "
- "gridfill=%d seed=%d",
+ "beauty=%i numcuts=%i quadcornertype=%i singleedge=%b "
+ "gridfill=%b seed=%i",
flag, smooth, fractal, beauty, numcuts,
cornertype, singleedge, gridfill, seed);