Merged changes in the trunk up to revision 25613.
[blender.git] / source / creator / creator.c
index cad79395b7643bb32988dcb20a361abd4048113a..1caf2f6c66b91ee89d998cc6b078aa58962f7bc8 100644 (file)
@@ -83,6 +83,8 @@
 #include "GPU_draw.h"
 #include "GPU_extensions.h"
 
+#include "FRS_freestyle.h"
+
 /* for passing information between creator and gameengine */
 #include "SYS_System.h"
 
@@ -579,6 +581,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 */
 
        for(a=1; a<argc; a++) {