diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-20 13:03:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-20 13:03:38 +0300 |
commit | 8b2fbd6bbf6f4a56dbc1fa899dd44e21a2c17d0a (patch) | |
tree | ef96f8288641f3be182ab951a81ba9f47c9b6908 /source/blender/python/mathutils | |
parent | 0756fe268464ff7441ff247f278aac57b35483e8 (diff) |
mathutils.kdtree: fix docstrings
Diffstat (limited to 'source/blender/python/mathutils')
-rw-r--r-- | source/blender/python/mathutils/mathutils_kdtree.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_kdtree.c b/source/blender/python/mathutils/mathutils_kdtree.c index 519778aea7d..9dc246f0f37 100644 --- a/source/blender/python/mathutils/mathutils_kdtree.c +++ b/source/blender/python/mathutils/mathutils_kdtree.c @@ -126,7 +126,7 @@ static void PyKDTree__tp_dealloc(PyKDTree *self) } PyDoc_STRVAR(py_kdtree_insert_doc, -".. method:: insert(index, co)\n" +".. method:: insert(co, index)\n" "\n" " Insert a point into the KDTree.\n" "\n" @@ -171,6 +171,10 @@ PyDoc_STRVAR(py_kdtree_balance_doc, ".. method:: balance()\n" "\n" " Balance the tree.\n" +"\n" +".. note::\n" +"\n" +" This builds the entire tree, avoid calling after each insertion.\n" ); static PyObject *py_kdtree_balance(PyKDTree *self) { |