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 /pie_menus_official
parent04f6388deeddb32d53c9b6ab961ef36e45d48486 (diff)
Rename user_preferences -> preferences
Diffstat (limited to 'pie_menus_official')
-rw-r--r--pie_menus_official/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pie_menus_official/__init__.py b/pie_menus_official/__init__.py
index 52c8d346..f2fec504 100644
--- a/pie_menus_official/__init__.py
+++ b/pie_menus_official/__init__.py
@@ -67,7 +67,7 @@ def _get_pref_class(mod):
def get_addon_preferences(name=''):
"""Acquisition and registration"""
- addons = bpy.context.user_preferences.addons
+ addons = bpy.context.preferences.addons
if __name__ not in addons: # wm.read_factory_settings()
return None
addon_prefs = addons[__name__].preferences