diff options
author | stephen-l <stephen@3dservices.ch> | 2021-09-25 13:03:10 +0300 |
---|---|---|
committer | stephen-l <stephen@3dservices.ch> | 2021-09-25 13:03:10 +0300 |
commit | b1226da66a49a524ee17053c8f43d356597b18f4 (patch) | |
tree | 7253b9ba3cb46f1055af8793550627a93475ac15 /archipack/archipack_preset.py | |
parent | ba969e8b536781450d8b43959c95ca07e886b2b6 (diff) |
Blender 3.0 compatibility
Diffstat (limited to 'archipack/archipack_preset.py')
-rw-r--r-- | archipack/archipack_preset.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archipack/archipack_preset.py b/archipack/archipack_preset.py index fe4b9307..65ca7245 100644 --- a/archipack/archipack_preset.py +++ b/archipack/archipack_preset.py @@ -34,8 +34,8 @@ from .archipack_gl import ( ThumbHandle, Screen, GlRect, GlPolyline, GlPolygon, GlText, GlHandle ) -preset_paths = bpy.utils.script_paths(subdir="presets") -addons_paths = bpy.utils.script_paths(subdir="addons") +preset_paths = [os.path.join(path, "presets") for path in bpy.utils.script_paths()] +addons_paths = [os.path.join(path, "addons") for path in bpy.utils.script_paths()] class CruxHandle(GlHandle): |