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_preset.py | |
parent | 04f6388deeddb32d53c9b6ab961ef36e45d48486 (diff) |
Rename user_preferences -> preferences
Diffstat (limited to 'archipack/archipack_preset.py')
-rw-r--r-- | archipack/archipack_preset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archipack/archipack_preset.py b/archipack/archipack_preset.py index 8f1468b2..745b1826 100644 --- a/archipack/archipack_preset.py +++ b/archipack/archipack_preset.py @@ -539,7 +539,7 @@ class ArchipackPreset(AddPresetBase): def background_render(self, context, cls, preset): generator = os.path.dirname(os.path.realpath(__file__)) + os.path.sep + "archipack_thumbs.py" addon_name = __name__.split('.')[0] - matlib_path = context.user_preferences.addons[addon_name].preferences.matlib_path + matlib_path = context.preferences.addons[addon_name].preferences.matlib_path # Run external instance of blender like the original thumbnail generator. cmd = [ bpy.app.binary_path, |