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:
authorCampbell Barton <ideasman42@gmail.com>2010-01-23 23:43:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-23 23:43:55 +0300
commit22f7c8b1cd676d596fd23525f446938a0d022614 (patch)
tree50a94714f2cfe291d69cef73550c948e051b2a18 /source/blender/windowmanager
parent9d96399eeb5de8aaff5af1852b0d4ff16e626df1 (diff)
support for compiling blender without python working again (with cmake at least)
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index f6e5263e483..776144a7928 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -284,9 +284,10 @@ void WM_read_file(bContext *C, char *name, ReportList *reports)
// refresh_interface_font();
CTX_wm_window_set(C, NULL); /* exits queues */
-
+#ifndef DISABLE_PYTHON
/* run any texts that were loaded in and flagged as modules */
BPY_load_user_modules(C);
+#endif
}
else if(retval==1)
BKE_write_undo(C, "Import file");