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:
Diffstat (limited to 'source/blender/python/mathutils')
-rw-r--r--source/blender/python/mathutils/mathutils_Color.c2
-rw-r--r--source/blender/python/mathutils/mathutils_Euler.c2
-rw-r--r--source/blender/python/mathutils/mathutils_Matrix.c10
-rw-r--r--source/blender/python/mathutils/mathutils_Quaternion.c2
-rw-r--r--source/blender/python/mathutils/mathutils_Vector.c4
-rw-r--r--source/blender/python/mathutils/mathutils_interpolate.c2
-rw-r--r--source/blender/python/mathutils/mathutils_kdtree.c2
-rw-r--r--source/blender/python/mathutils/mathutils_noise.c6
8 files changed, 15 insertions, 15 deletions
diff --git a/source/blender/python/mathutils/mathutils_Color.c b/source/blender/python/mathutils/mathutils_Color.c
index e97ed095b24..be7889da0bd 100644
--- a/source/blender/python/mathutils/mathutils_Color.c
+++ b/source/blender/python/mathutils/mathutils_Color.c
@@ -403,7 +403,7 @@ static PySequenceMethods Color_SeqMethods = {
static PyMappingMethods Color_AsMapping = {
(lenfunc)Color_len,
(binaryfunc)Color_subscript,
- (objobjargproc)Color_ass_subscript
+ (objobjargproc)Color_ass_subscript,
};
/* numeric */
diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c
index 9046bdc1aa4..991314c23a4 100644
--- a/source/blender/python/mathutils/mathutils_Euler.c
+++ b/source/blender/python/mathutils/mathutils_Euler.c
@@ -602,7 +602,7 @@ static PySequenceMethods Euler_SeqMethods = {
static PyMappingMethods Euler_AsMapping = {
(lenfunc)Euler_len,
(binaryfunc)Euler_subscript,
- (objobjargproc)Euler_ass_subscript
+ (objobjargproc)Euler_ass_subscript,
};
/* euler axis, euler.x/y/z */
diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c
index c033a990901..04d4fb53895 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.c
+++ b/source/blender/python/mathutils/mathutils_Matrix.c
@@ -158,7 +158,7 @@ Mathutils_Callback mathutils_matrix_row_cb = {
mathutils_matrix_row_get,
mathutils_matrix_row_set,
mathutils_matrix_row_get_index,
- mathutils_matrix_row_set_index
+ mathutils_matrix_row_set_index,
};
@@ -250,7 +250,7 @@ Mathutils_Callback mathutils_matrix_col_cb = {
mathutils_matrix_col_get,
mathutils_matrix_col_set,
mathutils_matrix_col_get_index,
- mathutils_matrix_col_set_index
+ mathutils_matrix_col_set_index,
};
@@ -327,7 +327,7 @@ Mathutils_Callback mathutils_matrix_translation_cb = {
mathutils_matrix_translation_get,
mathutils_matrix_translation_set,
mathutils_matrix_translation_get_index,
- mathutils_matrix_translation_set_index
+ mathutils_matrix_translation_set_index,
};
@@ -2652,7 +2652,7 @@ static int Matrix_ass_subscript(MatrixObject *self, PyObject *item, PyObject *va
static PyMappingMethods Matrix_AsMapping = {
(lenfunc)Matrix_len,
(binaryfunc)Matrix_subscript,
- (objobjargproc)Matrix_ass_subscript
+ (objobjargproc)Matrix_ass_subscript,
};
@@ -3314,7 +3314,7 @@ static PyObject *MatrixAccess_iter(MatrixAccessObject *self)
static PyMappingMethods MatrixAccess_AsMapping = {
(lenfunc)MatrixAccess_len,
(binaryfunc)MatrixAccess_subscript,
- (objobjargproc) MatrixAccess_ass_subscript
+ (objobjargproc) MatrixAccess_ass_subscript,
};
PyTypeObject matrix_access_Type = {
diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c
index a2b4480584a..c892dce39e1 100644
--- a/source/blender/python/mathutils/mathutils_Quaternion.c
+++ b/source/blender/python/mathutils/mathutils_Quaternion.c
@@ -1036,7 +1036,7 @@ static PySequenceMethods Quaternion_SeqMethods = {
static PyMappingMethods Quaternion_AsMapping = {
(lenfunc)Quaternion_len,
(binaryfunc)Quaternion_subscript,
- (objobjargproc)Quaternion_ass_subscript
+ (objobjargproc)Quaternion_ass_subscript,
};
static PyNumberMethods Quaternion_NumMethods = {
diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c
index 16a242fc718..77686f99042 100644
--- a/source/blender/python/mathutils/mathutils_Vector.c
+++ b/source/blender/python/mathutils/mathutils_Vector.c
@@ -2170,7 +2170,7 @@ static int Vector_ass_subscript(VectorObject *self, PyObject *item, PyObject *va
static PyMappingMethods Vector_AsMapping = {
(lenfunc)Vector_len,
(binaryfunc)Vector_subscript,
- (objobjargproc)Vector_ass_subscript
+ (objobjargproc)Vector_ass_subscript,
};
@@ -3064,7 +3064,7 @@ PyTypeObject vector_Type = {
NULL, /* PyObject *tp_cache; */
NULL, /* PyObject *tp_subclasses; */
NULL, /* PyObject *tp_weaklist; */
- NULL
+ NULL,
};
PyObject *Vector_CreatePyObject(
diff --git a/source/blender/python/mathutils/mathutils_interpolate.c b/source/blender/python/mathutils/mathutils_interpolate.c
index 720fac7c276..d2a09aaccb2 100644
--- a/source/blender/python/mathutils/mathutils_interpolate.c
+++ b/source/blender/python/mathutils/mathutils_interpolate.c
@@ -115,7 +115,7 @@ static PyMethodDef M_Interpolate_methods[] = {
#ifndef MATH_STANDALONE
{"poly_3d_calc", (PyCFunction) M_Interpolate_poly_3d_calc, METH_VARARGS, M_Interpolate_poly_3d_calc_doc},
#endif
- {NULL, NULL, 0, NULL}
+ {NULL, NULL, 0, NULL},
};
static struct PyModuleDef M_Interpolate_module_def = {
diff --git a/source/blender/python/mathutils/mathutils_kdtree.c b/source/blender/python/mathutils/mathutils_kdtree.c
index ca66c1906b4..6405aee0496 100644
--- a/source/blender/python/mathutils/mathutils_kdtree.c
+++ b/source/blender/python/mathutils/mathutils_kdtree.c
@@ -398,7 +398,7 @@ static PyMethodDef PyKDTree_methods[] = {
{"find", (PyCFunction)py_kdtree_find, METH_VARARGS | METH_KEYWORDS, py_kdtree_find_doc},
{"find_n", (PyCFunction)py_kdtree_find_n, METH_VARARGS | METH_KEYWORDS, py_kdtree_find_n_doc},
{"find_range", (PyCFunction)py_kdtree_find_range, METH_VARARGS | METH_KEYWORDS, py_kdtree_find_range_doc},
- {NULL, NULL, 0, NULL}
+ {NULL, NULL, 0, NULL},
};
PyDoc_STRVAR(py_KDtree_doc,
diff --git a/source/blender/python/mathutils/mathutils_noise.c b/source/blender/python/mathutils/mathutils_noise.c
index 5e3e86c8ddf..fd41ff360cb 100644
--- a/source/blender/python/mathutils/mathutils_noise.c
+++ b/source/blender/python/mathutils/mathutils_noise.c
@@ -216,7 +216,7 @@ static PyC_FlagSet bpy_noise_types[] = {
{TEX_VORONOI_F2F1, "VORONOI_F2F1"},
{TEX_VORONOI_CRACKLE, "VORONOI_CRACKLE"},
{TEX_CELLNOISE, "CELLNOISE"},
- {0, NULL}
+ {0, NULL},
};
/* Metric basis enum */
@@ -230,7 +230,7 @@ static PyC_FlagSet bpy_noise_metrics[] = {
{TEX_MINKOVSKY, "MINKOVSKY"},
{TEX_MINKOVSKY_HALF, "MINKOVSKY_HALF"},
{TEX_MINKOVSKY_FOUR, "MINKOVSKY_FOUR"},
- {0, NULL}
+ {0, NULL},
};
/* Fills an array of length size with random numbers in the range (-1, 1)*/
@@ -1044,7 +1044,7 @@ static PyMethodDef M_Noise_methods[] = {
{"voronoi", (PyCFunction) M_Noise_voronoi, METH_VARARGS | METH_KEYWORDS, M_Noise_voronoi_doc},
{"cell", (PyCFunction) M_Noise_cell, METH_VARARGS, M_Noise_cell_doc},
{"cell_vector", (PyCFunction) M_Noise_cell_vector, METH_VARARGS, M_Noise_cell_vector_doc},
- {NULL, NULL, 0, NULL}
+ {NULL, NULL, 0, NULL},
};
static struct PyModuleDef M_Noise_module_def = {