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 07:34:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-03 07:46:52 +0300
commitf0df4d6c35fc17c57adc8c0bcd5af11f7583f2ee (patch)
treecfc5d6ee12c9368978947bbde4006e66ab36e5df /release
parent2749e6a639e084931af944b046a044582bd7a15e (diff)
Fix T67577: Add-on unregister can't access preferences on factory reset
Diffstat (limited to 'release')
-rw-r--r--release/scripts/modules/bl_app_template_utils.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/release/scripts/modules/bl_app_template_utils.py b/release/scripts/modules/bl_app_template_utils.py
index 42467d21580..6ee1e2ab8df 100644
--- a/release/scripts/modules/bl_app_template_utils.py
+++ b/release/scripts/modules/bl_app_template_utils.py
@@ -170,10 +170,6 @@ def activate(template_id=None):
if template_id_prev:
_disable(template_id_prev)
- # Disable all addons, afterwards caller must reset.
- import addon_utils
- addon_utils.disable_all()
-
# ignore_not_found so modules that don't contain scripts don't raise errors
_mod = _enable(template_id, ignore_not_found=True) if template_id else None