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:
Ken Hughes
2008-03-26 17:29:20 +00:00
parent 972b0a5218
commit 2976a38fd9
3 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -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 );