diff options
Diffstat (limited to 'source/blender/python/intern/bpy.c')
-rw-r--r-- | source/blender/python/intern/bpy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index 4d5c02dad68..5511673481e 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -58,6 +58,8 @@ #include "../generic/blf_py_api.h" #include "../mathutils/mathutils.h" +#include "BPy_Freestyle.h" + PyObject *bpy_package_py = NULL; PyDoc_STRVAR(bpy_script_paths_doc, @@ -227,7 +229,7 @@ static PyObject *bpy_import_test(const char *modname) else { PyErr_Print(); PyErr_Clear(); - } + } return mod; } @@ -256,6 +258,7 @@ void BPy_init_modules(void) } /* stand alone utility modules not related to blender directly */ IDProp_Init_Types(); /* not actually a submodule, just types */ + Freestyle_Init(); mod = PyModule_New("_bpy"); |