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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-01-23 23:08:23 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-01-23 23:17:54 +0400
commit18db6c58ec6b7a37eed58a532cbe2f51f1e5f073 (patch)
tree9a0f17efa6b18c2ba30d990cd666d744704a5667 /source/blender/python/bmesh/bmesh_py_types_meshdata.c
parent037730b6837f600536fa80055cde807aa4e9852c (diff)
Fix T38150: implementation mismatch in bmesh python
Hopefully this time all mismatches are fixed (quickly checked the whole BMesh API files, found a few others in addition to those reported in T38150).
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types_meshdata.c')
-rw-r--r--source/blender/python/bmesh/bmesh_py_types_meshdata.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_meshdata.c b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
index 80b07a926f4..b935dbccf34 100644
--- a/source/blender/python/bmesh/bmesh_py_types_meshdata.c
+++ b/source/blender/python/bmesh/bmesh_py_types_meshdata.c
@@ -643,13 +643,13 @@ static PyObject *bpy_bmdeformvert_keys(BPy_BMDeformVert *self)
}
PyDoc_STRVAR(bpy_bmdeformvert_values_doc,
-".. method:: items()\n"
+".. method:: values()\n"
"\n"
-" Return (group, weight) pairs for this vertex\n"
-" (matching pythons dict.items() functionality).\n"
+" Return the weights of the deform vertex\n"
+" (matching pythons dict.values() functionality).\n"
"\n"
-" :return: (key, value) pairs for each deform weight of this vertex.\n"
-" :rtype: list of tuples\n"
+" :return: The weights that influence this vertex\n"
+" :rtype: list of floats\n"
);
static PyObject *bpy_bmdeformvert_values(BPy_BMDeformVert *self)
{
@@ -666,13 +666,13 @@ static PyObject *bpy_bmdeformvert_values(BPy_BMDeformVert *self)
}
PyDoc_STRVAR(bpy_bmdeformvert_items_doc,
-".. method:: values()\n"
+".. method:: items()\n"
"\n"
-" Return the weights of the deform vertex\n"
-" (matching pythons dict.values() functionality).\n"
+" Return (group, weight) pairs for this vertex\n"
+" (matching pythons dict.items() functionality).\n"
"\n"
-" :return: The weights that influence this vertex\n"
-" :rtype: list of floats\n"
+" :return: (key, value) pairs for each deform weight of this vertex.\n"
+" :rtype: list of tuples\n"
);
static PyObject *bpy_bmdeformvert_items(BPy_BMDeformVert *self)
{