Merged changes in the trunk up to revision 32271.
[blender.git] / source / creator / creator.c
index 8e17bec361fe89f2201d2817ce8eeba09b901063..6b08c3c6a51fa909b200ffbec519874e6ce22b5f 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"
 
@@ -1128,6 +1130,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);