[Bf-blender-cvs] [cb7f1f81606] master: Docs: BMesh.from_mesh behavior w/ multiple calls

Campbell Barton noreply at git.blender.org
Mon Aug 28 04:58:15 CEST 2017


Commit: cb7f1f8160606e92a4f6d216f03254e870b8eca6
Author: Campbell Barton
Date:   Mon Aug 28 12:40:36 2017 +1000
Branches: master
https://developer.blender.org/rBcb7f1f8160606e92a4f6d216f03254e870b8eca6

Docs: BMesh.from_mesh behavior w/ multiple calls

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

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 bd2d818c3a3..52ca475297d 100644
--- a/source/blender/python/bmesh/bmesh_py_types.c
+++ b/source/blender/python/bmesh/bmesh_py_types.c
@@ -1037,6 +1037,13 @@ PyDoc_STRVAR(bpy_bmesh_from_mesh_doc,
 "   :type use_shape_key: boolean\n"
 "   :arg shape_key_index: The shape key index to use.\n"
 "   :type shape_key_index: int\n"
+"\n"
+"   .. note::\n"
+"\n"
+"      Multiple calls can be used to join multiple meshes.\n"
+"\n"
+"      Custom-data layers are only copied from ``mesh`` on initialization.\n"
+"      Further calls will copy custom-data to matching layers, layers missing on the target mesh wont be added.\n"
 );
 static PyObject *bpy_bmesh_from_mesh(BPy_BMesh *self, PyObject *args, PyObject *kw)
 {



More information about the Bf-blender-cvs mailing list