Commit: 8d269a2488d69c878cc5685c94fd59a8f1ea3812
Author: Aaron Carlisle
Date:   Fri Nov 25 19:55:04 2022 -0500
Branches: master
https://developer.blender.org/rB8d269a2488d69c878cc5685c94fd59a8f1ea3812

PyDocs: Fix incorrect data type of bmesh.types.BMFaceSeq.new

The API documentation of [[ 
https://docs.blender.org/api/current/bmesh.types.html?highlight=faces#bmesh.types.BMFaceSeq.new
 | bmesh.types.BMFaceSeq.new ]] indicates that the argument is only `BMVert`.
But the correct one is sequence of `BMVert`.
This patch fixes this mismatch.

Contributed by @Nutti

Differential Revision: https://developer.blender.org/D15668

===================================================================

M       source/blender/python/bmesh/bmesh_py_types.c

===================================================================

diff --git a/source/blender/python/bmesh/bmesh_py_types.c 
b/source/blender/python/bmesh/bmesh_py_types.c
index 12267ef5b13..e218c2384f5 100644
--- a/source/blender/python/bmesh/bmesh_py_types.c
+++ b/source/blender/python/bmesh/bmesh_py_types.c
@@ -2269,7 +2269,7 @@ PyDoc_STRVAR(bpy_bmfaceseq_new_doc,
              "   Create a new face from a given set of verts.\n"
              "\n"
              "   :arg verts: Sequence of 3 or more verts.\n"
-             "   :type verts: :class:`BMVert`\n"
+             "   :type verts: sequence of :class:`BMVert`\n"
              "   :arg example: Existing face to initialize settings (optional 
argument).\n"
              "   :type example: :class:`BMFace`\n"
              "   :return: The newly created face.\n"

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to