diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-14 04:30:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-14 04:30:56 +0400 |
commit | 157656593206647499d0dedb66b2a483a5900a3b (patch) | |
tree | ab16bdcff9493a53e94491ad6630bc60811040a3 /source/blender/python/mathutils/mathutils.c | |
parent | b1179c4752395b5b3247e5a22587f4b65e45d72d (diff) |
minor changes needed for building standalone mathutils.
Diffstat (limited to 'source/blender/python/mathutils/mathutils.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c index 90e9565f05f..8f94fc8b467 100644 --- a/source/blender/python/mathutils/mathutils.c +++ b/source/blender/python/mathutils/mathutils.c @@ -510,10 +510,12 @@ PyMODINIT_FUNC PyInit_mathutils(void) PyDict_SetItemString(sys_modules, PyModule_GetName(submodule), submodule); Py_INCREF(submodule); +#ifndef MATH_STANDALONE /* Noise submodule */ PyModule_AddObject(mod, "noise", (submodule = PyInit_mathutils_noise())); PyDict_SetItemString(sys_modules, PyModule_GetName(submodule), submodule); Py_INCREF(submodule); +#endif mathutils_matrix_row_cb_index = Mathutils_RegisterCallback(&mathutils_matrix_row_cb); mathutils_matrix_col_cb_index = Mathutils_RegisterCallback(&mathutils_matrix_col_cb); |