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:
authorPhilipp Oeser <info@graphics-engineer.com>2018-10-22 15:07:00 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2018-10-22 15:09:43 +0300
commit0f4064c66ff87fa84577f0522e2f3baf030be71f (patch)
tree3363581af54cb501048e928a846845db09a71e7f /source/blender/editors/mesh
parent0f54c3a9b75be8f8db9022fb0aeb0f8d0d4f0299 (diff)
Fix T57028: Connect Vertex not working with more than 2 selected
vertices rB944054fbb61e introduced a sanity check which is not needed and prevents the operator to run successfully with more than 2 selected vertices Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D3763
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index 552edc5a659..c11aefb7e14 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -1116,11 +1116,6 @@ static bool edbm_connect_vert_pair(BMEditMesh *em, wmOperator *op)
BMVert **verts;
bool checks_succeded = true;
- /* sanity check */
- if (!is_pair) {
- return false;
- }
-
verts = MEM_mallocN(sizeof(*verts) * verts_len, __func__);
{
BMIter iter;