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>2020-06-03 06:08:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-03 07:46:52 +0300
commit2749e6a639e084931af944b046a044582bd7a15e (patch)
treeea87cfe93e9069f80eff1ea7539e0ae580f0d6a9 /source/blender/windowmanager
parent2004f9a342da231e1e790521657e9ba14fa48868 (diff)
Cleanup: remove redundant call to addon_utils.reset_all()
This is already called by wm_homefile_read
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c4
1 files changed, 0 insertions, 4 deletions
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);