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
Notes: blender-bot 2023-02-14 05:16:25 +01:00
Referenced by issue #57028, Connect Vertex broken (not working with more than 2 vertices)
1 changed files with 0 additions and 5 deletions

View File

@ -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;