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>2019-08-17 19:31:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-17 19:32:43 +0300
commitfdb0f3bc0b7d1a0cbd4e85d36978efb10663ff40 (patch)
treed4d1a9b10d69ee95d511e279e775ead7cad51b61
parentc3d037e88f8444635dcdf36f2037d105fff91ad3 (diff)
Fix T68760: "Reload Scripts" '_sys_path_ensure' missing
Missed this in recent update.
-rw-r--r--release/scripts/modules/addon_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/addon_utils.py b/release/scripts/modules/addon_utils.py
index 376193f73a5..e212df17f60 100644
--- a/release/scripts/modules/addon_utils.py
+++ b/release/scripts/modules/addon_utils.py
@@ -467,7 +467,7 @@ def reset_all(*, reload_scripts=False):
paths_list = paths()
for path in paths_list:
- _bpy.utils._sys_path_ensure(path)
+ _bpy.utils._sys_path_ensure_append(path)
for mod_name, _mod_path in _bpy.path.module_names(path):
is_enabled, is_loaded = check(mod_name)