[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53172] trunk/blender/source/blender/ python/bmesh/bmesh_py_utils.c: fix [#33616] Documentation not matching the behaviour of bmesh.utils

Campbell Barton ideasman42 at gmail.com
Wed Dec 19 12:18:10 CET 2012


Revision: 53172
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53172
Author:   campbellbarton
Date:     2012-12-19 11:18:08 +0000 (Wed, 19 Dec 2012)
Log Message:
-----------
fix [#33616] Documentation not matching the behaviour of bmesh.utils

incorrect api docs

Modified Paths:
--------------
    trunk/blender/source/blender/python/bmesh/bmesh_py_utils.c

Modified: trunk/blender/source/blender/python/bmesh/bmesh_py_utils.c
===================================================================
--- trunk/blender/source/blender/python/bmesh/bmesh_py_utils.c	2012-12-19 11:07:10 UTC (rev 53171)
+++ trunk/blender/source/blender/python/bmesh/bmesh_py_utils.c	2012-12-19 11:18:08 UTC (rev 53172)
@@ -106,7 +106,7 @@
 PyDoc_STRVAR(bpy_bm_utils_vert_collapse_faces_doc,
 ".. method:: vert_collapse_faces(vert, edge, fac, join_faces)\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"
 "   :arg vert: The vert that will be collapsed.\n"
 "   :type vert: :class:`bmesh.types.BMVert`\n"
@@ -163,7 +163,7 @@
 	}
 	else {
 		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;
 	}
 }




More information about the Bf-blender-cvs mailing list