fix [#33616] Documentation not matching the behaviour of bmesh.utils

incorrect api docs
This commit is contained in:
Campbell Barton 2012-12-19 11:18:08 +00:00
parent 10fdfb54b5
commit 56bfd3235c

@ -106,7 +106,7 @@ static PyObject *bpy_bm_utils_vert_collapse_edge(PyObject *UNUSED(self), PyObjec
PyDoc_STRVAR(bpy_bm_utils_vert_collapse_faces_doc, PyDoc_STRVAR(bpy_bm_utils_vert_collapse_faces_doc,
".. method:: vert_collapse_faces(vert, edge, fac, join_faces)\n" ".. method:: vert_collapse_faces(vert, edge, fac, join_faces)\n"
"\n" "\n"
" Split an edge, return the newly created data.\n" " Collapses a vertex that has only two manifold edges onto a vertex it shares an edge with.\n"
"\n" "\n"
" :arg vert: The vert that will be collapsed.\n" " :arg vert: The vert that will be collapsed.\n"
" :type vert: :class:`bmesh.types.BMVert`\n" " :type vert: :class:`bmesh.types.BMVert`\n"
@ -163,7 +163,7 @@ static PyObject *bpy_bm_utils_vert_collapse_faces(PyObject *UNUSED(self), PyObje
} }
else { else {
PyErr_SetString(PyExc_ValueError, PyErr_SetString(PyExc_ValueError,
"vert_collapse_edge(vert, edge): no new edge created, internal error"); "vert_collapse_faces(vert, edge): no new edge created, internal error");
return NULL; return NULL;
} }
} }