Skip to content
Snippets Groups Projects
Commit bcd75f3b authored by Fabian Fricke's avatar Fabian Fricke
Browse files

Got the wrong presets path on some windows installations, should work now....

Got the wrong presets path on some windows installations, should work now. (also thanks to jesterKing and testscreenings)
parent b91a60d1
Branches
Tags
No related merge requests found
...@@ -23,8 +23,8 @@ import os, sys ...@@ -23,8 +23,8 @@ import os, sys
def getPresets(): def getPresets():
scriptPath = sys.path[1] + os.sep + "add_mesh_BoltFactory" scriptPath = bpy.utils.script_paths()[0] + os.sep + "addons" + os.sep + "add_mesh_BoltFactory"
presetPath = scriptPath + os.sep +"presets" presetPath = scriptPath + os.sep + "presets"
presetFiles = os.listdir(presetPath) presetFiles = os.listdir(presetPath)
#presetFiles.sort() #presetFiles.sort()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment