Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-12-21 04:56:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-21 04:56:42 +0300
commit0457976a872000993202763abe7503c76b461122 (patch)
treea4998fbbb768c43eb00b55ba311d497fd74eadcd /development_icon_get.py
parent04f6388deeddb32d53c9b6ab961ef36e45d48486 (diff)
Rename user_preferences -> preferences
Diffstat (limited to 'development_icon_get.py')
-rw-r--r--development_icon_get.py4
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: