Python API
---------- Bugfix #8615: NMesh.update() did not check if faces had less than 3 vertices, so would create bogus faces. Also discovered in the process that documentation and error message for Mesh.assignVertsToGroup() was wrong.
This commit is contained in:
@@ -6483,7 +6483,7 @@ static PyObject *Mesh_assignVertsToGroup( BPy_Mesh * self, PyObject * args )
|
||||
if( !PyArg_ParseTuple ( args, "sO!fi", &groupStr, &PyList_Type,
|
||||
&listObject, &weight, &assignmode) ) {
|
||||
return EXPP_ReturnPyObjError( PyExc_TypeError,
|
||||
"expected string, list, float, string arguments" );
|
||||
"expected string, list, float, int arguments" );
|
||||
}
|
||||
|
||||
pGroup = get_named_vertexgroup( object, groupStr );
|
||||
|
||||
Reference in New Issue
Block a user