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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-13 10:22:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-13 10:22:43 +0400
commit2fbb5ce8338838a58f7cf518ceaa40580d290791 (patch)
tree88929234cb13bdeb45fc911d4bad9daa2a598747 /source/blender
parenta69585573e460ca96af340800d4d8534bdece9f6 (diff)
bmesh py api: more comprehensive intro page, also fix some spelling errors.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.c2
-rw-r--r--source/blender/python/bmesh/bmesh_py_api.c5
-rw-r--r--source/blender/python/intern/bpy_rna.c2
-rw-r--r--source/blender/python/mathutils/mathutils_Matrix.c2
4 files changed, 4 insertions, 7 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.c b/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.c
index 7b2e682e968..d3c6561ac34 100644
--- a/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.c
+++ b/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.c
@@ -998,7 +998,7 @@ static void do_fillGradientBuffer(unsigned int rw, float *res, unsigned short *g
purpose of GO for the proportion calculation.
For the purposes of the minimun distance comparisons, we only check
- the sums-of-squares against eachother, since they are in the same
+ the sums-of-squares against each other, since they are in the same
mathematical sort-order as if we did go ahead and take square roots
Loop through all gradient pixels.
diff --git a/source/blender/python/bmesh/bmesh_py_api.c b/source/blender/python/bmesh/bmesh_py_api.c
index d3dcc979015..5526926ec8e 100644
--- a/source/blender/python/bmesh/bmesh_py_api.c
+++ b/source/blender/python/bmesh/bmesh_py_api.c
@@ -108,10 +108,7 @@ PyDoc_STRVAR(BPy_BM_doc,
"* :mod:`bmesh.types`\n"
"\n"
"\n"
-"Example Script\n"
-"--------------\n"
-"\n"
-".. literalinclude:: ../../../release/scripts/templates/bmesh_simple.py\n"
+".. include:: include__bmesh.rst\n"
);
static struct PyModuleDef BPy_BM_module_def = {
PyModuleDef_HEAD_INIT,
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index b543f426751..1af1f8fc9e4 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -4524,7 +4524,7 @@ static struct PyMethodDef pyrna_struct_methods[] = {
{"type_recast", (PyCFunction)pyrna_struct_type_recast, METH_NOARGS, pyrna_struct_type_recast_doc},
{"__dir__", (PyCFunction)pyrna_struct_dir, METH_NOARGS, NULL},
- /* experemental */
+ /* experimental */
{"callback_add", (PyCFunction)pyrna_callback_add, METH_VARARGS, NULL},
{"callback_remove", (PyCFunction)pyrna_callback_remove, METH_VARARGS, NULL},
{NULL, NULL, 0, NULL}
diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c
index ea329b17013..1d9bda02311 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.c
+++ b/source/blender/python/mathutils/mathutils_Matrix.c
@@ -780,7 +780,7 @@ PyDoc_STRVAR(C_Matrix_Shear_doc,
" :arg size: The size of the shear matrix to construct [2, 4].\n"
" :type size: int\n"
" :arg factor: The factor of shear to apply. For a 3 or 4 *size* matrix\n"
-" pass a pair of floats corrasponding with the *plane* axis.\n"
+" pass a pair of floats corresponding with the *plane* axis.\n"
" :type factor: float or float pair\n"
" :return: A new shear matrix.\n"
" :rtype: :class:`Matrix`\n"