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 /rigify/__init__.py | |
parent | 04f6388deeddb32d53c9b6ab961ef36e45d48486 (diff) |
Rename user_preferences -> preferences
Diffstat (limited to 'rigify/__init__.py')
-rw-r--r-- | rigify/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/__init__.py b/rigify/__init__.py index 302fc453..9fded5ef 100644 --- a/rigify/__init__.py +++ b/rigify/__init__.py @@ -357,8 +357,8 @@ def register(): description="Last Frame to Transfer", default=0, min= 0) # Update legacy on restart or reload. - if (ui and 'legacy' in str(ui)) or bpy.context.user_preferences.addons['rigify'].preferences.legacy_mode: - bpy.context.user_preferences.addons['rigify'].preferences.legacy_mode = True + if (ui and 'legacy' in str(ui)) or bpy.context.preferences.addons['rigify'].preferences.legacy_mode: + bpy.context.preferences.addons['rigify'].preferences.legacy_mode = True # Add rig parameters for rig in rig_lists.rig_list: |