[Bf-blender-cvs] [2749e6a639e] master: Cleanup: remove redundant call to addon_utils.reset_all()
Campbell Barton
noreply at git.blender.org
Wed Jun 3 06:48:23 CEST 2020
Commit: 2749e6a639e084931af944b046a044582bd7a15e
Author: Campbell Barton
Date: Wed Jun 3 13:08:59 2020 +1000
Branches: master
https://developer.blender.org/rB2749e6a639e084931af944b046a044582bd7a15e
Cleanup: remove redundant call to addon_utils.reset_all()
This is already called by wm_homefile_read
===================================================================
M source/blender/windowmanager/intern/wm_files.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index c09f23f6944..41cc00a3e3f 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1844,10 +1844,6 @@ static void wm_userpref_update_when_changed(bContext *C,
rna_struct_update_when_changed(C, bmain, &ptr_a, &ptr_b);
-#ifdef WITH_PYTHON
- BPY_execute_string(C, (const char *[]){"addon_utils", NULL}, "addon_utils.reset_all()");
-#endif
-
WM_reinit_gizmomap_all(bmain);
WM_keyconfig_reload(C);
More information about the Bf-blender-cvs
mailing list