Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Hughes <khughes@pacific.edu>2008-03-26 20:29:20 +0300
committerKen Hughes <khughes@pacific.edu>2008-03-26 20:29:20 +0300
commit2976a38fd9aeeadfbcef743ce1663e613b4508b3 (patch)
tree516355774e7506a9dc2c92b9d7c12053e06e3feb /source/blender/python/api2_2x/Mesh.c
parent972b0a5218ba166ed648f4053c494af30cfa8c02 (diff)
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.
Diffstat (limited to 'source/blender/python/api2_2x/Mesh.c')
-rw-r--r--source/blender/python/api2_2x/Mesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c
index 90b4d899f4f..f37ec1f86c0 100644
--- a/source/blender/python/api2_2x/Mesh.c
+++ b/source/blender/python/api2_2x/Mesh.c
@@ -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 );