support for compiling blender without python working again (with cmake at least)

This commit is contained in:
2010-01-23 20:43:55 +00:00
parent 9d96399eeb
commit 22f7c8b1cd
4 changed files with 19 additions and 4 deletions

View File

@@ -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");