Fix #33285: loop cut is not supposed to cut through triangles/ngons, but it

still happened  when the loop would go all the way around the mesh with just one
triangle/ngon inbetween to close the loop.
This commit is contained in:
2012-11-26 06:59:59 +00:00
parent 7ecf054295
commit cf2c459325
7 changed files with 47 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ static int edbm_subdivide_exec(bContext *C, wmOperator *op)
smooth, fractal, along_normal,
cuts,
SUBDIV_SELECT_ORIG, RNA_enum_get(op->ptr, "quadcorner"),
RNA_boolean_get(op->ptr, "quadtri"), TRUE,
RNA_boolean_get(op->ptr, "quadtri"), TRUE, FALSE,
RNA_int_get(op->ptr, "seed"));
EDBM_update_generic(C, em, TRUE);