Minor changes for standalone mathutils
This commit is contained in:
@@ -477,8 +477,10 @@ static struct PyModuleDef M_Mathutils_module_def = {
|
|||||||
|
|
||||||
/* submodules only */
|
/* submodules only */
|
||||||
#include "mathutils_geometry.h"
|
#include "mathutils_geometry.h"
|
||||||
|
#ifndef MATH_STANDALONE
|
||||||
# include "mathutils_kdtree.h"
|
# include "mathutils_kdtree.h"
|
||||||
# include "mathutils_noise.h"
|
# include "mathutils_noise.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
PyMODINIT_FUNC PyInit_mathutils(void)
|
PyMODINIT_FUNC PyInit_mathutils(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,9 +31,9 @@
|
|||||||
|
|
||||||
#include "BLI_math.h"
|
#include "BLI_math.h"
|
||||||
#include "BLI_utildefines.h"
|
#include "BLI_utildefines.h"
|
||||||
#include "BLI_string.h"
|
|
||||||
|
|
||||||
#ifndef MATH_STANDALONE
|
#ifndef MATH_STANDALONE
|
||||||
|
# include "BLI_string.h"
|
||||||
# include "BLI_dynstr.h"
|
# include "BLI_dynstr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user