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:
authorLuca Bonavita <mindrones@gmail.com>2010-08-02 05:37:52 +0400
committerLuca Bonavita <mindrones@gmail.com>2010-08-02 05:37:52 +0400
commit174145be603d461e81bbeff8201d2f1ad90cf13c (patch)
treedced3b28b7d9a41c0182df8d76b8222e9614915e /release/scripts/ui/space_userpref.py
parentc04850ec06135f20f935d7f493214fa107435176 (diff)
== addons ==
Loads addons from usual .blender/scripts/addons but also from .blender/scripts/addons_contrib if this folder exists To get latest contrib scripts, we can checkout https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/ into release/scripts/addons_contrib/
Diffstat (limited to 'release/scripts/ui/space_userpref.py')
-rw-r--r--release/scripts/ui/space_userpref.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/ui/space_userpref.py b/release/scripts/ui/space_userpref.py
index 7929aa64df7..2c040168490 100644
--- a/release/scripts/ui/space_userpref.py
+++ b/release/scripts/ui/space_userpref.py
@@ -827,7 +827,9 @@ class USERPREF_PT_addons(bpy.types.Panel):
modules = []
loaded_modules = set()
paths = bpy.utils.script_paths("addons")
-
+ # if folder addons_contrib/ exists, scripts in there will be loaded
+ paths += bpy.utils.script_paths("addons_contrib")
+
if bpy.app.debug:
t_main = time.time()