Fixes bug #4834. The function was supposed to return a list of vertex

indices that are within the passed group. If one of the indices was not
in the group, it returned an exception, as opposed to just removing it from
the group as the documentation states.
This commit is contained in:
2006-09-08 11:32:01 +00:00
parent 67ef2c05d8
commit bffe5dd087

View File

@@ -6143,9 +6143,6 @@ static PyObject *Mesh_getVertsFromGroup( BPy_Mesh* self, PyObject * args )
count++;
}
}
if( !attr )
return EXPP_ReturnPyObjError( PyExc_ValueError,
"specified index not in vertex group" );
}
}
/* only return what we need */