diff options
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/CMakeLists.txt | 2 | ||||
-rw-r--r-- | source/blender/python/SConscript | 1 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/python/CMakeLists.txt b/source/blender/python/CMakeLists.txt index 7abec566505..08f5dfbb313 100644 --- a/source/blender/python/CMakeLists.txt +++ b/source/blender/python/CMakeLists.txt @@ -29,7 +29,7 @@ FILE(GLOB GENSRC generic/*.c) SET(INC . ../../../intern/guardedalloc ../blenlib ../makesdna ../makesrna ../blenkernel ../editors/include ../windowmanager ${PYTHON_INC} - ../../../extern/glew/include + ../../../extern/glew/include ../freestyle/intern/python ) IF(WITH_OPENEXR) diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript index ca742a3646a..b4ce9898b1b 100644 --- a/source/blender/python/SConscript +++ b/source/blender/python/SConscript @@ -5,6 +5,7 @@ sources = env.Glob('intern/*.c') incs = '. ../editors/include ../makesdna ../makesrna ../blenlib ../blenkernel ../nodes' incs += ' ../imbuf ../blenloader ../render/extern/include ../windowmanager' +incs += ' ../freestyle/intern/python' incs += ' #intern/guardedalloc #intern/memutil #extern/glew/include' incs += ' ' + env['BF_PYTHON_INC'] diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index a850809b4a5..c8b05237072 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -66,6 +66,8 @@ #include "BPY_extern.h" +#include "BPy_Freestyle.h" + #include "../generic/bpy_internal_import.h" // our own imports /* external util modules */ @@ -181,6 +183,7 @@ static void bpy_init_modules( void ) Geometry_Init(); Mathutils_Init(); BGL_Init(); + Freestyle_Init(); } void BPY_update_modules( void ) |