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
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-02-20 12:54:26 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-02-20 12:54:26 +0300
commit51b0ae8a85dbb47963f24fe3d79de878092cc6cc (patch)
treed8aac449a57860c84e57b755b975232c76ce46a3 /source
parent185e301229691e1105a0147a8c5a697bb2461ed0 (diff)
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...
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/bmesh/bmesh_py_geometry.c4
1 files changed, 2 insertions, 2 deletions
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)