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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py24
1 files changed, 23 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index cd12255c24c..faaf54173ff 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -1481,5 +1481,27 @@ class USERPREF_PT_addons(Panel):
row.label(text=module_name, translate=False)
+classes = (
+ USERPREF_HT_header,
+ USERPREF_MT_addons_online_resources,
+ USERPREF_MT_appconfigs,
+ USERPREF_MT_interaction_presets,
+ USERPREF_MT_interface_theme_presets,
+ USERPREF_MT_keyconfigs,
+ USERPREF_MT_ndof_settings,
+ USERPREF_MT_splash,
+ USERPREF_MT_splash_footer,
+ USERPREF_PT_addons,
+ USERPREF_PT_edit,
+ USERPREF_PT_file,
+ USERPREF_PT_input,
+ USERPREF_PT_interface,
+ USERPREF_PT_system,
+ USERPREF_PT_tabs,
+ USERPREF_PT_theme,
+)
+
if __name__ == "__main__": # only for live edit.
- bpy.utils.register_module(__name__)
+ from bpy.utils import register_class
+ for cls in classes:
+ register_class(cls)