Merged changes in the trunk up to revision 30397.
[blender.git] / source / creator / creator.c
index 283511ef3ffabfae3890fb49495845122f45eaac..fbe9d100b14236c497fbfabcd5c15ef4d0829af6 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"
 
@@ -1126,6 +1128,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);