diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-03-01 11:02:28 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-03-01 11:02:28 +0300 |
commit | d122aea865ccc04d7cfc642b0d98a9476cc20a87 (patch) | |
tree | 4db9a0a9526b46f233c6ac620e5fb881491a44eb /source/blender/editors/mesh/editmesh_add.c | |
parent | 34dcf5fca246b448bf7ef0a37028d16c2b2cae61 (diff) |
coded little vert connect tool. connects selected verts within the same face. currently integrated with fkey, along with the simple face merge tool I made too.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_add.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_add.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_add.c b/source/blender/editors/mesh/editmesh_add.c index d4780927b70..b2b6e855bbd 100644 --- a/source/blender/editors/mesh/editmesh_add.c +++ b/source/blender/editors/mesh/editmesh_add.c @@ -668,7 +668,12 @@ static void addedgeface_mesh(EditMesh *em, wmOperator *op) EditEdge *eed; EditFace *efa; short amount=0; - + + if (em->selectmode & SCE_SELECT_VERTEX) { + /*return if bmesh vert connect does anything.*/ + if (BM_ConnectVerts(em, BM_SELECT)) return; + } + if (em->selectmode & SCE_SELECT_FACE) { /*return if bmesh face dissolve finds stuff to dissolve.*/ |