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 /archimesh
parent04f6388deeddb32d53c9b6ab961ef36e45d48486 (diff)
Rename user_preferences -> preferences
Diffstat (limited to 'archimesh')
-rw-r--r--archimesh/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archimesh/__init__.py b/archimesh/__init__.py
index 07049ff2..0208b944 100644
--- a/archimesh/__init__.py
+++ b/archimesh/__init__.py
@@ -157,7 +157,7 @@ def update_panel(self, context):
bpy.utils.unregister_class(panel)
for panel in panels:
- panel.bl_category = context.user_preferences.addons[__name__].preferences.category
+ panel.bl_category = context.preferences.addons[__name__].preferences.category
bpy.utils.register_class(panel)
except Exception as e: