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)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to