diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 10:10:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 10:12:04 +0300 |
commit | 65701599290292a0e57c005f45c7dfa0c3333177 (patch) | |
tree | 691e2be2a75f123619b9ecdf9d8ab951c37685bd /source/blender/python/mathutils | |
parent | 1f778dbefcaf825dcad1f70a9cc45e503ad74ed5 (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.c | 2 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_bvhtree.c | 3 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_kdtree.c | 3 |
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 */ |