From fdb0f3bc0b7d1a0cbd4e85d36978efb10663ff40 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 18 Aug 2019 02:31:26 +1000 Subject: Fix T68760: "Reload Scripts" '_sys_path_ensure' missing Missed this in recent update. --- release/scripts/modules/addon_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') 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) -- cgit v1.2.3