diff options
Diffstat (limited to 'source/blender/python/mathutils')
8 files changed, 17 insertions, 17 deletions
diff --git a/source/blender/python/mathutils/mathutils.h b/source/blender/python/mathutils/mathutils.h index 70bd3a64481..c59fa75b651 100644 --- a/source/blender/python/mathutils/mathutils.h +++ b/source/blender/python/mathutils/mathutils.h @@ -69,11 +69,11 @@ typedef struct { } BaseMathObject; /* types */ -#include "mathutils_Vector.h" +#include "mathutils_Color.h" +#include "mathutils_Euler.h" #include "mathutils_Matrix.h" #include "mathutils_Quaternion.h" -#include "mathutils_Euler.h" -#include "mathutils_Color.h" +#include "mathutils_Vector.h" /* avoid checking all types */ #define BaseMathObject_CheckExact(v) (Py_TYPE(v)->tp_dealloc == (destructor)BaseMathObject_dealloc) diff --git a/source/blender/python/mathutils/mathutils_Color.c b/source/blender/python/mathutils/mathutils_Color.c index bf7fe0472d0..08dede8ff78 100644 --- a/source/blender/python/mathutils/mathutils_Color.c +++ b/source/blender/python/mathutils/mathutils_Color.c @@ -25,8 +25,8 @@ #include "BLI_math.h" #include "BLI_utildefines.h" -#include "../generic/python_utildefines.h" #include "../generic/py_capi_utils.h" +#include "../generic/python_utildefines.h" #ifndef MATH_STANDALONE # include "BLI_dynstr.h" diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c index 4375ba31439..7ece587e38f 100644 --- a/source/blender/python/mathutils/mathutils_Euler.c +++ b/source/blender/python/mathutils/mathutils_Euler.c @@ -22,10 +22,10 @@ #include "mathutils.h" +#include "../generic/py_capi_utils.h" +#include "../generic/python_utildefines.h" #include "BLI_math.h" #include "BLI_utildefines.h" -#include "../generic/python_utildefines.h" -#include "../generic/py_capi_utils.h" #ifndef MATH_STANDALONE # include "BLI_dynstr.h" diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index 352d8326901..7a3a92d8a10 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -25,12 +25,12 @@ #include "BLI_math.h" #include "BLI_utildefines.h" -#include "../generic/python_utildefines.h" #include "../generic/py_capi_utils.h" +#include "../generic/python_utildefines.h" #ifndef MATH_STANDALONE -# include "BLI_string.h" # include "BLI_dynstr.h" +# include "BLI_string.h" #endif typedef enum eMatrixAccess_t { diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c index 6a2a1161ca9..39d84c1ac96 100644 --- a/source/blender/python/mathutils/mathutils_Quaternion.c +++ b/source/blender/python/mathutils/mathutils_Quaternion.c @@ -25,8 +25,8 @@ #include "BLI_math.h" #include "BLI_utildefines.h" -#include "../generic/python_utildefines.h" #include "../generic/py_capi_utils.h" +#include "../generic/python_utildefines.h" #ifndef MATH_STANDALONE # include "BLI_dynstr.h" diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c b/source/blender/python/mathutils/mathutils_bvhtree.c index ad88bd8cd84..5a0dc7d6a5e 100644 --- a/source/blender/python/mathutils/mathutils_bvhtree.c +++ b/source/blender/python/mathutils/mathutils_bvhtree.c @@ -25,12 +25,12 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" +#include "BLI_ghash.h" #include "BLI_kdopbvh.h" -#include "BLI_polyfill_2d.h" #include "BLI_math.h" -#include "BLI_ghash.h" #include "BLI_memarena.h" +#include "BLI_polyfill_2d.h" +#include "BLI_utildefines.h" #include "BKE_bvhutils.h" @@ -41,9 +41,9 @@ #include "mathutils_bvhtree.h" /* own include */ #ifndef MATH_STANDALONE -# include "DNA_object_types.h" # include "DNA_mesh_types.h" # include "DNA_meshdata_types.h" +# include "DNA_object_types.h" # include "BKE_customdata.h" # include "BKE_editmesh_bvh.h" diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c index 6474275ecaf..105cf96a17e 100644 --- a/source/blender/python/mathutils/mathutils_geometry.c +++ b/source/blender/python/mathutils/mathutils_geometry.c @@ -25,13 +25,13 @@ /* Used for PolyFill */ #ifndef MATH_STANDALONE /* define when building outside blender */ -# include "MEM_guardedalloc.h" +# include "BKE_curve.h" +# include "BKE_displist.h" # include "BLI_blenlib.h" # include "BLI_boxpack_2d.h" # include "BLI_convexhull_2d.h" # include "BLI_delaunay_2d.h" -# include "BKE_displist.h" -# include "BKE_curve.h" +# include "MEM_guardedalloc.h" #endif #include "BLI_math.h" diff --git a/source/blender/python/mathutils/mathutils_kdtree.c b/source/blender/python/mathutils/mathutils_kdtree.c index ec35d25bdd5..c3e66546dae 100644 --- a/source/blender/python/mathutils/mathutils_kdtree.c +++ b/source/blender/python/mathutils/mathutils_kdtree.c @@ -25,8 +25,8 @@ #include "MEM_guardedalloc.h" -#include "BLI_utildefines.h" #include "BLI_kdtree.h" +#include "BLI_utildefines.h" #include "../generic/py_capi_utils.h" #include "../generic/python_utildefines.h" |