diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-13 11:55:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-13 11:57:52 +0300 |
commit | 52d31b4894a308b015fd111ad7872bd78f99fba6 (patch) | |
tree | 77ca2b2e20e53414b7b88a390f314787c8c03d29 /source/blender/editors/mesh/editmesh_tools.c | |
parent | 9984c6494ae7336e38e9ccd8f39197f549819025 (diff) |
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.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_tools.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 273003c3ccd..17ddb48cbdc 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -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); |