Revision: 38927
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38927
Author: campbellbarton
Date: 2011-08-02 10:21:25 +0000 (Tue, 02 Aug 2011)
Log Message:
-----------
fix [#28148] User Preferences Scripts Path not working
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
Modified: trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
2011-08-02 10:20:47 UTC (rev 38926)
+++ trunk/blender/release/scripts/startup/bl_ui/space_userpref.py
2011-08-02 10:21:25 UTC (rev 38927)
@@ -878,7 +878,7 @@
if not user_addon_paths:
user_script_path = bpy.utils.user_script_path()
if user_script_path is not None:
- user_addon_paths.append(os.path.join(user_script_path(),
"addons"))
+ user_addon_paths.append(os.path.join(user_script_path,
"addons"))
user_addon_paths.append(os.path.join(bpy.utils.resource_path('USER'),
"scripts", "addons"))
for path in user_addon_paths:
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs