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:
authorCampbell Barton <ideasman42@gmail.com>2019-10-09 04:06:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-09 04:12:53 +0300
commit7468227aea78beb053f2dfea34663419974de390 (patch)
treece4a7bcde6b977f2d6ce32ab4a8e6544c7af2d90 /release/scripts/modules/bpy_types.py
parent0812949bbc3d7acfd1f20a47087ff973110aa177 (diff)
Docs: clarify Mesh.from_pydata edges argument usage
Addresses T70617
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r--release/scripts/modules/bpy_types.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py
index 1a2eb12cd9f..1c66c59149f 100644
--- a/release/scripts/modules/bpy_types.py
+++ b/release/scripts/modules/bpy_types.py
@@ -439,6 +439,13 @@ class Mesh(bpy_types.ID):
int pairs, each pair contains two indices to the
*vertices* argument. eg: [(1, 2), ...]
+ When an empty iterable is passed in, the edsges are inferred from the polygons.
+
+ When non-emtpy, either:
+
+ - Edges must be provided for all polygons.
+ - Edges must be calculated afterwards using :class:`Mesh.update` with ``calc_edges=True``.
+
:type edges: iterable object
:arg faces: