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>2021-06-24 10:10:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-24 10:12:04 +0300
commit65701599290292a0e57c005f45c7dfa0c3333177 (patch)
tree691e2be2a75f123619b9ecdf9d8ab951c37685bd /source/blender/python/mathutils
parent1f778dbefcaf825dcad1f70a9cc45e503ad74ed5 (diff)
Cleanup: update clang-format so PyObject_HEAD indents properly
Diffstat (limited to 'source/blender/python/mathutils')
-rw-r--r--source/blender/python/mathutils/mathutils_Matrix.c2
-rw-r--r--source/blender/python/mathutils/mathutils_bvhtree.c3
-rw-r--r--source/blender/python/mathutils/mathutils_kdtree.c3
3 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c
index ee1fa1c5097..21f53257154 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.c
+++ b/source/blender/python/mathutils/mathutils_Matrix.c
@@ -3479,7 +3479,7 @@ int Matrix_Parse4x4(PyObject *o, void *p)
typedef struct {
PyObject_HEAD /* Required Python macro. */
- MatrixObject *matrix_user;
+ MatrixObject *matrix_user;
eMatrixAccess_t type;
} MatrixAccessObject;
diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c b/source/blender/python/mathutils/mathutils_bvhtree.c
index b00dbacad15..80919e014d5 100644
--- a/source/blender/python/mathutils/mathutils_bvhtree.c
+++ b/source/blender/python/mathutils/mathutils_bvhtree.c
@@ -93,7 +93,8 @@ static const char PY_BVH_TREE_TYPE_DEFAULT = 4;
static const char PY_BVH_AXIS_DEFAULT = 6;
typedef struct {
- PyObject_HEAD BVHTree *tree;
+ PyObject_HEAD
+ BVHTree *tree;
float epsilon;
float (*coords)[3];
diff --git a/source/blender/python/mathutils/mathutils_kdtree.c b/source/blender/python/mathutils/mathutils_kdtree.c
index 1ff574fefa8..95a3b6dc20b 100644
--- a/source/blender/python/mathutils/mathutils_kdtree.c
+++ b/source/blender/python/mathutils/mathutils_kdtree.c
@@ -37,7 +37,8 @@
#include "BLI_strict_flags.h"
typedef struct {
- PyObject_HEAD KDTree_3d *obj;
+ PyObject_HEAD
+ KDTree_3d *obj;
uint maxsize;
uint count;
uint count_balance; /* size when we last balanced */