[Bf-blender-cvs] [8a623b0] master: BVHTree.FromBMesh() missed epsilon arg
Campbell Barton
noreply at git.blender.org
Mon Aug 24 00:29:27 CEST 2015
Commit: 8a623b066eb0f5ac280ff50db3052c4f9e97734c
Author: Campbell Barton
Date: Mon Aug 24 08:12:59 2015 +1000
Branches: master
https://developer.blender.org/rB8a623b066eb0f5ac280ff50db3052c4f9e97734c
BVHTree.FromBMesh() missed epsilon arg
===================================================================
M source/blender/python/mathutils/mathutils_bvhtree.c
===================================================================
diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c b/source/blender/python/mathutils/mathutils_bvhtree.c
index a207b63..4d18d7b 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;
More information about the Bf-blender-cvs
mailing list