diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_text.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_text.py | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py index 8c5418161ca..67b98d530a8 100644 --- a/release/scripts/startup/bl_ui/space_text.py +++ b/release/scripts/startup/bl_ui/space_text.py @@ -343,5 +343,25 @@ class TEXT_MT_toolbox(Menu): layout.operator("text.run_script") + +classes = ( + TEXT_HT_header, + TEXT_MT_edit, + TEXT_MT_edit_select, + TEXT_MT_edit_to3d, + TEXT_MT_editor_menus, + TEXT_MT_format, + TEXT_MT_templates, + TEXT_MT_templates_osl, + TEXT_MT_templates_py, + TEXT_MT_text, + TEXT_MT_toolbox, + TEXT_MT_view, + TEXT_PT_find, + TEXT_PT_properties, +) + 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) |