BMesh: make edge winding from face optional

Broke uv-sphere creation, further it might be a problem
for script authors expecting matching edge order for duplicated content.

Now only apply this when duplicating via the operator.
This commit is contained in:
2019-03-13 19:55:18 +11:00
parent 9984c6494a
commit 52d31b4894
3 changed files with 14 additions and 9 deletions

View File

@@ -1748,8 +1748,8 @@ static int edbm_duplicate_exec(bContext *C, wmOperator *op)
EDBM_op_init(
em, &bmop, op,
"duplicate geom=%hvef use_select_history=%b",
BM_ELEM_SELECT, true);
"duplicate geom=%hvef use_select_history=%b use_edge_flip_from_face=%b",
BM_ELEM_SELECT, true, true);
BMO_op_exec(bm, &bmop);