Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r--source/creator/creator.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 3070bf0462d..383211a000a 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -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"
@@ -1040,6 +1042,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);