missed updating this when modifying addons module.
authorCampbell Barton <ideasman42@gmail.com>
Tue, 22 Feb 2011 09:14:29 +0000 (09:14 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 22 Feb 2011 09:14:29 +0000 (09:14 +0000)
source/blender/windowmanager/intern/wm_files.c

index 4ad3b0d..d2e5619 100644 (file)
@@ -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);