Merged changes in the trunk up to revision 29409.
[blender.git] / source / creator / creator.c
index 2def6c8a3ca2e8c4da13b102925291c2af179d00..7936e53e00705ccdccdb86743399b1e421bf32a6 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 */
 #include "SYS_System.h"
 
@@ -1120,6 +1122,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);