From 36c6c13a55e34f5e7aab1a7f596d71875db49be3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 22 Feb 2011 09:14:29 +0000 Subject: missed updating this when modifying addons module. --- source/blender/windowmanager/intern/wm_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 4ad3b0d3249..d2e5619455e 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -428,7 +428,7 @@ int WM_read_homefile(bContext *C, ReportList *reports, short from_memory) #ifdef WITH_PYTHON if(CTX_py_init_get(C)) { /* sync addons, these may have changed from the defaults */ - BPY_string_exec(C, "__import__('bpy').utils.addon_reset_all()"); + BPY_string_exec(C, "__import__('addon_utils').reset_all()"); BPY_driver_reset(); BPY_modules_load_user(C); -- cgit v1.2.3