diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-21 04:56:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-21 04:56:42 +0300 |
commit | 0457976a872000993202763abe7503c76b461122 (patch) | |
tree | a4998fbbb768c43eb00b55ba311d497fd74eadcd /archipack/archipack_thumbs.py | |
parent | 04f6388deeddb32d53c9b6ab961ef36e45d48486 (diff) |
Rename user_preferences -> preferences
Diffstat (limited to 'archipack/archipack_thumbs.py')
-rw-r--r-- | archipack/archipack_thumbs.py | 2 |
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 ############################") |