Merged changes in the trunk up to revision 26719.
[blender-staging.git] / source / creator / creator.c
index c3bf89686509a2357a7bec397c7048c36594edba..41bf88550c89b1ea8b13613a964c47899cde10a1 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"
 
@@ -1022,6 +1024,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);