From 447e9a4cd5d385e8724b7f92c952d66bd35a2c34 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 18 Jun 2013 18:11:52 +0000 Subject: add option to enable auto-execute scripts, but exclude certain directories. --- source/creator/creator.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/creator') 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); } -- cgit v1.2.3