Merged changes in the trunk up to revision 34193.
[blender.git] / source / creator / creator.c
index 1a0188e0c471842d1a817f2f12d9a7603234d484..7d78bb1e439adb5baf159c67cb50884f64b21c07 100644 (file)
@@ -96,6 +96,8 @@
 #include "GPU_draw.h"
 #include "GPU_extensions.h"
 
+#include "FRS_freestyle.h"
+
 /* for passing information between creator and gameengine */
 #ifdef WITH_GAMEENGINE
 #include "GEN_messaging.h"
@@ -1172,6 +1174,10 @@ int main(int argc, char **argv)
        CTX_py_init_set(C, 1);
        WM_keymap_init(C);
 
+       /* initialize Freestyle */
+       FRS_initialize();
+       FRS_set_context(C);
+
        /* OK we are ready for it */
        BLI_argsParse(ba, 4, load_file, C);