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
This commit is contained in:
Philipp Oeser
2018-10-22 14:07:00 +02:00
parent 0f54c3a9b7
commit 0f4064c66f
@@ -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;