Fix T48926: Subdivide edge-ring crash
Also resolves: T34294
This commit is contained in:
parent
08e1bba10c
commit
192df299d9
Notes:
blender-bot
2023-02-14 12:39:26 +01:00
Referenced by issue #48926, Subdivide Edge-Ring Crash Referenced by issue #34294, Subdivide Smooth issue
|
@ -1099,7 +1099,8 @@ void bmo_subdivide_edgering_exec(BMesh *bm, BMOperator *op)
|
|||
BMFace *f;
|
||||
|
||||
BM_ITER_ELEM (f, &fiter, e, BM_FACES_OF_EDGE) {
|
||||
if (!BMO_face_flag_test(bm, f, FACE_OUT)) {
|
||||
/* could support ngons, other areas would need updating too, see T48926. */
|
||||
if ((f->len <= 4) && !BMO_face_flag_test(bm, f, FACE_OUT)) {
|
||||
BMIter liter;
|
||||
BMLoop *l;
|
||||
bool ok = false;
|
||||
|
|
Loading…
Reference in New Issue