[Bf-blender-cvs] [0265553] mathutils_bvhtree: Minor doc string fixes.

Lukas Tönne noreply at git.blender.org
Sat Jan 3 11:09:18 CET 2015


Commit: 02655533a66215d4fde90ab5a02fe1038527b51b
Author: Lukas Tönne
Date:   Thu Dec 18 11:53:14 2014 +0100
Branches: mathutils_bvhtree
https://developer.blender.org/rB02655533a66215d4fde90ab5a02fe1038527b51b

Minor doc string fixes.

===================================================================

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 feb0e49..3de77d6 100644
--- a/source/blender/python/mathutils/mathutils_bvhtree.c
+++ b/source/blender/python/mathutils/mathutils_bvhtree.c
@@ -155,9 +155,9 @@ static void PyBVHTree__tp_dealloc(PyBVHTree *self)
 }
 
 PyDoc_STRVAR(py_BVHTree_from_object_verts_doc,
-".. method:: from_faces(object)\n"
+".. method:: from_object_verts(object)\n"
 "\n"
-"   Construct the BVHTree from mesh vertices.\n"
+"   Construct the BVHTree from object vertices.\n"
 "\n"
 "   :arg object: Object used for constructing the BVH tree.\n"
 "   :type object: :class:`Object`\n"
@@ -197,9 +197,9 @@ static PyObject *py_BVHTree_from_object_verts(PyBVHTree *self, PyObject *args, P
 }
 
 PyDoc_STRVAR(py_BVHTree_from_object_faces_doc,
-".. method:: from_faces(object)\n"
+".. method:: from_object_faces(object)\n"
 "\n"
-"   Construct the BVHTree from mesh faces.\n"
+"   Construct the BVHTree from object faces.\n"
 "\n"
 "   :arg object: Object used for constructing the BVH tree.\n"
 "   :type object: :class:`Object`\n"
@@ -239,9 +239,9 @@ static PyObject *py_BVHTree_from_object_faces(PyBVHTree *self, PyObject *args, P
 }
 
 PyDoc_STRVAR(py_BVHTree_from_object_edges_doc,
-".. method:: from_edges(object)\n"
+".. method:: from_object_edges(object)\n"
 "\n"
-"   Construct the BVHTree from mesh edges.\n"
+"   Construct the BVHTree from object edges.\n"
 "\n"
 "   :arg object: Object used for constructing the BVH tree.\n"
 "   :type object: :class:`Object`\n"




More information about the Bf-blender-cvs mailing list