Another big patch set by Bastien Montagne, thanks a lot!

* Made Freestyle optional (turned on by default).

* Fix for missing bpath.c updates in the previous merge of trunk changes.
This commit is contained in:
2012-12-20 07:57:26 +00:00
parent d433cd65f7
commit a462d69bbf
134 changed files with 877 additions and 174 deletions

View File

@@ -60,7 +60,9 @@
#include "../generic/blf_py_api.h"
#include "../mathutils/mathutils.h"
#include "BPy_Freestyle.h"
#ifdef WITH_FREESTYLE
# include "BPy_Freestyle.h"
#endif
PyObject *bpy_package_py = NULL;
@@ -259,7 +261,9 @@ void BPy_init_modules(void)
}
/* stand alone utility modules not related to blender directly */
IDProp_Init_Types(); /* not actually a submodule, just types */
#ifdef WITH_FREESTYLE
Freestyle_Init();
#endif
mod = PyModule_New("_bpy");