From 51b0ae8a85dbb47963f24fe3d79de878092cc6cc Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 20 Feb 2015 10:54:26 +0100 Subject: Fix T43739: bad documentation for bmesh py `intersect_face_point()` Previous text could make think this func was checking whether a point was inside and on the face, while it actually checks whether the projection of that point onto the face is inside its boundary... --- source/blender/python/bmesh/bmesh_py_geometry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python') diff --git a/source/blender/python/bmesh/bmesh_py_geometry.c b/source/blender/python/bmesh/bmesh_py_geometry.c index a48a9dab434..f67bf29c94d 100644 --- a/source/blender/python/bmesh/bmesh_py_geometry.c +++ b/source/blender/python/bmesh/bmesh_py_geometry.c @@ -43,13 +43,13 @@ PyDoc_STRVAR(bpy_bm_geometry_intersect_face_point_doc, ".. method:: intersect_face_point(face, point)\n" "\n" -" Tests if a point is inside a face (using the faces normal).\n" +" Tests if the projection of a point is inside a face (using the face's normal).\n" "\n" " :arg face: The face to test.\n" " :type face: :class:`bmesh.types.BMFace`\n" " :arg point: The point to test.\n" " :type point: float triplet\n" -" :return: True when the point is in the face.\n" +" :return: True when the projection of the point is in the face.\n" " :rtype: bool\n" ); static PyObject *bpy_bm_geometry_intersect_face_point(BPy_BMFace *UNUSED(self), PyObject *args) -- cgit v1.2.3