Merged changes in the trunk up to revision 28536.
[blender.git] / source / creator / creator.c
index 24523342866761237cb1d98c09e49b4fed3e4d48..5bacc766621bb5ca8d0dedc826bf1cfefdc6da1e 100644 (file)
@@ -90,6 +90,8 @@
 #include "GPU_draw.h"
 #include "GPU_extensions.h"
 
+#include "FRS_freestyle.h"
+
 /* for passing information between creator and gameengine */
 #include "SYS_System.h"
 
@@ -1056,6 +1058,10 @@ int main(int argc, char **argv)
                printf("Example: setenv BF_TIFF_LIB /usr/lib/libtiff.so\n");
        }
 
+       /* initialize Freestyle */
+       FRS_initialize();
+       FRS_set_context(C);
+
        /* OK we are ready for it */
        BLI_argsParse(ba, 4, load_file, C);