diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-18 22:11:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-18 22:11:52 +0400 |
commit | 447e9a4cd5d385e8724b7f92c952d66bd35a2c34 (patch) | |
tree | a32a990f805f3d443abe6b078a5b65e6caf65e95 /source/creator | |
parent | 649dd6f64846ca959566389bc8ce58f87dcb499f (diff) |
add option to enable auto-execute scripts, but exclude certain directories.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 302467c6b3d..817bc4fcf60 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -1262,6 +1262,7 @@ static int load_file(int UNUSED(argc), const char **argv, void *data) * a file - this should do everything a 'load file' does */ ReportList reports; BKE_reports_init(&reports, RPT_PRINT); + WM_file_autoexec_init(filename); WM_file_read(C, filename, &reports); BKE_reports_clear(&reports); } |