Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Meyer <florianfelix@web.de>2010-07-29 20:22:36 +0400
committerFlorian Meyer <florianfelix@web.de>2010-07-29 20:22:36 +0400
commitc1b18f6012fdc8f59846c9d406630d70aaeca95b (patch)
tree7aaccf2cd8fff39a4b023533b8263886bab4f941 /add_mesh_BoltFactory
parent76a9395a7ecb008ee750a05e0fb27c22f2114714 (diff)
- fixed wrong path
- was catching the user script path instead of the install script one
Diffstat (limited to 'add_mesh_BoltFactory')
-rw-r--r--add_mesh_BoltFactory/preset_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_BoltFactory/preset_utils.py b/add_mesh_BoltFactory/preset_utils.py
index d25ff8ea..d29c8d63 100644
--- a/add_mesh_BoltFactory/preset_utils.py
+++ b/add_mesh_BoltFactory/preset_utils.py
@@ -23,7 +23,7 @@ import os, sys
def getPresets():
- scriptPath = sys.path[0] + os.sep + "add_mesh_BoltFactory"
+ scriptPath = sys.path[1] + os.sep + "add_mesh_BoltFactory"
presetPath = scriptPath + os.sep +"presets"
presetFiles = os.listdir(presetPath)
#presetFiles.sort()