diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 16:24:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 16:25:20 +0300 |
commit | 032366f9e7bae4c1db2108037f1f5c246937b5fb (patch) | |
tree | a6b6d852d1598f798a7f67bd5be2abb5d804a991 /archipack | |
parent | 3206bcc4c84b109a8c8fb2ad21e6fe828e964c33 (diff) |
Update for changes to operator names
Diffstat (limited to 'archipack')
-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 c3cfea7d..46d01543 100644 --- a/archipack/archipack_thumbs.py +++ b/archipack/archipack_thumbs.py @@ -221,7 +221,7 @@ if __name__ == "__main__": engine = arg[7:] try: # log("### ENABLE %s ADDON ############################" % module) - bpy.ops.wm.addon_enable(module=module) + bpy.ops.preferences.addon_enable(module=module) # log("### MATLIB PATH ############################") bpy.context.preferences.addons[module].preferences.matlib_path = matlib except: |