Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-07-25 01:07:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-25 01:07:29 +0400
commit99947eb7440bded05d6f1b287836a5f84a330205 (patch)
tree63576f087ab0a6fe31da0f9efae0f43ca4e98724 /source/blender/editors/mesh
parentd9dbea183622916cc62d259764a23d80f5122b5f (diff)
change behavior of ediutmesh separate not to cleanup geometry - its not really needed and caused a bug with some of my recent edits.
If its important it could be added back but dont think its worthwhile.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index 0de4c148d95..bd740759106 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -2836,18 +2836,14 @@ static int mesh_separate_tagged(Main *bmain, Scene *scene, Base *base_old, BMesh
BMO_op_callf(bm_old, (BMO_FLAG_DEFAULTS & ~BMO_FLAG_RESPECT_HIDE),
"delete geom=%hvef context=%i", BM_ELEM_TAG, DEL_FACES);
- /* clean up any loose edges */
+ /* deselect loose data - this used to get deleted */
BM_ITER_MESH (e, &iter, bm_old, BM_EDGES_OF_MESH) {
- if (BM_edge_is_wire(e)) {
- BM_edge_kill(bm_old, e);
- }
+ BM_edge_select_set(bm_old, e, FALSE);
}
/* clean up any loose verts */
BM_ITER_MESH (v, &iter, bm_old, BM_VERTS_OF_MESH) {
- if (BM_vert_edge_count(v) == 0) {
- BM_vert_kill(bm_old, v);
- }
+ BM_vert_select_set(bm_old, v, FALSE);
}
BM_mesh_normals_update(bm_new, FALSE);