Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_conversions.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 7,117 Lines • ▼ Show 20 Lines | FOREACH_TRANS_DATA_CONTAINER (t, tc) { | ||||
| } | } | ||||
| hflag = BM_ELEM_SELECT | BM_ELEM_TAG; | hflag = BM_ELEM_SELECT | BM_ELEM_TAG; | ||||
| } | } | ||||
| else { | else { | ||||
| hflag = BM_ELEM_SELECT; | hflag = BM_ELEM_SELECT; | ||||
| } | } | ||||
| if (t->scene->toolsettings->automerge & AUTO_MERGE) { | |||||
| if (t->scene->toolsettings->automerge & AUTO_MERGE_SPLIT_EDGES) { | |||||
| EDBM_automerge_and_split_edges(t->scene, tc->obedit, true, true, hflag); | |||||
| } | |||||
| else { | |||||
| EDBM_automerge(t->scene, tc->obedit, true, hflag); | EDBM_automerge(t->scene, tc->obedit, true, hflag); | ||||
| } | |||||
| } | |||||
| /* Special case, this is needed or faces won't re-select. | /* Special case, this is needed or faces won't re-select. | ||||
| * Flush selected edges to faces. */ | * Flush selected edges to faces. */ | ||||
| if (has_face_sel && (em->selectmode == SCE_SELECT_FACE)) { | if (has_face_sel && (em->selectmode == SCE_SELECT_FACE)) { | ||||
| EDBM_selectmode_flush_ex(em, SCE_SELECT_EDGE); | EDBM_selectmode_flush_ex(em, SCE_SELECT_EDGE); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 2,641 Lines • Show Last 20 Lines | |||||