[Bf-blender-cvs] [fdb0f3bc0b7] master: Fix T68760: "Reload Scripts" '_sys_path_ensure' missing

Campbell Barton noreply at git.blender.org
Sat Aug 17 19:15:39 CEST 2019


Commit: fdb0f3bc0b7d1a0cbd4e85d36978efb10663ff40
Author: Campbell Barton
Date:   Sun Aug 18 02:31:26 2019 +1000
Branches: master
https://developer.blender.org/rBfdb0f3bc0b7d1a0cbd4e85d36978efb10663ff40

Fix T68760: "Reload Scripts" '_sys_path_ensure' missing

Missed this in recent update.

===================================================================

M	release/scripts/modules/addon_utils.py

===================================================================

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)



More information about the Bf-blender-cvs mailing list