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>2015-08-24 01:12:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-08-24 01:23:24 +0300
commit8a623b066eb0f5ac280ff50db3052c4f9e97734c (patch)
tree6baa79dc52cc4d3bdb8cd345af25ca273aa57137 /source/blender/python/mathutils/mathutils_bvhtree.c
parent2ee0187ed25fd1c4f2756a7d2ffd4b29bc9ad637 (diff)
BVHTree.FromBMesh() missed epsilon arg
Diffstat (limited to 'source/blender/python/mathutils/mathutils_bvhtree.c')
-rw-r--r--source/blender/python/mathutils/mathutils_bvhtree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c b/source/blender/python/mathutils/mathutils_bvhtree.c
index a207b63e652..4d18d7b67bc 100644
--- a/source/blender/python/mathutils/mathutils_bvhtree.c
+++ b/source/blender/python/mathutils/mathutils_bvhtree.c
@@ -832,16 +832,17 @@ static PyObject *C_BVHTree_FromPolygons(PyObject *UNUSED(cls), PyObject *args, P
#ifndef MATH_STANDALONE
PyDoc_STRVAR(C_BVHTree_FromBMesh_doc,
-".. classmethod:: FromBMesh(bmesh)\n"
+".. classmethod:: FromBMesh(bmesh, epsilon=0.0)\n"
"\n"
" BVH tree based on :class:`BMesh` data.\n"
"\n"
" :arg bmesh: BMesh data.\n"
" :type bmesh: :class:`BMesh`\n"
+PYBVH_FROM_GENERIC_EPSILON_DOC
);
static PyObject *C_BVHTree_FromBMesh(PyObject *UNUSED(cls), PyObject *args, PyObject *kwargs)
{
- const char *keywords[] = {"bmesh", NULL};
+ const char *keywords[] = {"bmesh", "epsilon", NULL};
BPy_BMesh *py_bm;