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/blender/windowmanager/intern/wm_files.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 45cc48c254a..d1156f77e41 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -115,6 +115,10 @@
#include "BPY_extern.h"
#endif
+#ifdef WITH_FREESTYLE
+# include "FRS_freestyle.h"
+#endif
+
#include "WM_api.h"
#include "WM_types.h"
#include "wm.h"
@@ -434,6 +438,9 @@ void WM_file_read(bContext *C, const char *filepath, ReportList *reports)
BPY_app_handlers_reset(FALSE);
BPY_modules_load_user(C);
#endif
+#ifdef WITH_FREESTYLE
+ FRS_read_file(C);
+#endif
/* important to do before NULL'ing the context */
BLI_callback_exec(CTX_data_main(C), NULL, BLI_CB_EVT_LOAD_POST);