diff options
Diffstat (limited to 'io_online_sketchfab/__init__.py')
-rw-r--r-- | io_online_sketchfab/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_online_sketchfab/__init__.py b/io_online_sketchfab/__init__.py index 2205f497..fa1cefdd 100644 --- a/io_online_sketchfab/__init__.py +++ b/io_online_sketchfab/__init__.py @@ -450,7 +450,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: |