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:
authorCampbell Barton <ideasman42@gmail.com>2018-12-21 04:56:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-21 04:56:42 +0300
commit0457976a872000993202763abe7503c76b461122 (patch)
treea4998fbbb768c43eb00b55ba311d497fd74eadcd /archipack/archipack_thumbs.py
parent04f6388deeddb32d53c9b6ab961ef36e45d48486 (diff)
Rename user_preferences -> preferences
Diffstat (limited to 'archipack/archipack_thumbs.py')
-rw-r--r--archipack/archipack_thumbs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archipack/archipack_thumbs.py b/archipack/archipack_thumbs.py
index 4ae4d020..c3cfea7d 100644
--- a/archipack/archipack_thumbs.py
+++ b/archipack/archipack_thumbs.py
@@ -223,7 +223,7 @@ if __name__ == "__main__":
# log("### ENABLE %s ADDON ############################" % module)
bpy.ops.wm.addon_enable(module=module)
# log("### MATLIB PATH ############################")
- bpy.context.user_preferences.addons[module].preferences.matlib_path = matlib
+ bpy.context.preferences.addons[module].preferences.matlib_path = matlib
except:
raise RuntimeError("module name not found")
# log("### GENERATE ############################")