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>2014-05-17 06:05:16 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-17 06:06:29 +0400
commit92a380d0b280c5851a37d076dba463358461974d (patch)
tree02377cca116c3d8ca1d323005485c89325f5b88b /source/blender/python/mathutils/mathutils.c
parent4958aff780a3ef63c9372b6111655b49ffb4a0d3 (diff)
Minor changes for standalone mathutils
Diffstat (limited to 'source/blender/python/mathutils/mathutils.c')
-rw-r--r--source/blender/python/mathutils/mathutils.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c
index 1ecb2c08bc1..349f8483fb0 100644
--- a/source/blender/python/mathutils/mathutils.c
+++ b/source/blender/python/mathutils/mathutils.c
@@ -477,8 +477,10 @@ static struct PyModuleDef M_Mathutils_module_def = {
/* submodules only */
#include "mathutils_geometry.h"
-#include "mathutils_kdtree.h"
-#include "mathutils_noise.h"
+#ifndef MATH_STANDALONE
+# include "mathutils_kdtree.h"
+# include "mathutils_noise.h"
+#endif
PyMODINIT_FUNC PyInit_mathutils(void)
{