== addons ==
authorLuca Bonavita <mindrones@gmail.com>
Mon, 2 Aug 2010 01:37:52 +0000 (01:37 +0000)
committerLuca Bonavita <mindrones@gmail.com>
Mon, 2 Aug 2010 01:37:52 +0000 (01:37 +0000)
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/

release/scripts/ui/space_userpref.py

index 7929aa64df7cbf05d4d5eeaf3ccb9f0b92eb7da4..2c040168490b64d9ba6c87dcd316cf8bb9b79439 100644 (file)
@@ -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()