diff options
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: |