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 /development_icon_get.py | |
parent | 04f6388deeddb32d53c9b6ab961ef36e45d48486 (diff) |
Rename user_preferences -> preferences
Diffstat (limited to 'development_icon_get.py')
-rw-r--r-- | development_icon_get.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/development_icon_get.py b/development_icon_get.py index e32c58ef..c602b365 100644 --- a/development_icon_get.py +++ b/development_icon_get.py @@ -48,12 +48,12 @@ HISTORY = [] def ui_scale(): - prefs = bpy.context.user_preferences.system + prefs = bpy.context.preferences.system return prefs.dpi * prefs.pixel_size / DPI def prefs(): - return bpy.context.user_preferences.addons[__name__].preferences + return bpy.context.preferences.addons[__name__].preferences class Icons: |