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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index db5485bada8..6abcd594d2f 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -104,6 +104,8 @@
#include "BLI_scanfill.h" /* for BLI_setErrorCallBack, TODO, move elsewhere */
+#include "FRS_freestyle.h"
+
#ifdef WITH_BUILDINFO_HEADER
#define BUILD_DATE
#endif
@@ -1285,7 +1287,7 @@ int main(int argc, const char **argv)
/* for all platforms, even windos has it! */
if (G.background) signal(SIGINT, blender_esc); /* ctrl c out bg render */
#endif
-
+
/* background render uses this font too */
BKE_vfont_builtin_register(datatoc_Bfont, datatoc_Bfont_size);
@@ -1333,6 +1335,10 @@ int main(int argc, const 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);