diff --git a/resources/app_templates/Review/startup.blend b/resources/app_templates/Review/startup.blend index 79e8e58..32a6952 100644 Binary files a/resources/app_templates/Review/startup.blend and b/resources/app_templates/Review/startup.blend differ diff --git a/ui/panels.py b/ui/panels.py index afc9090..8924fef 100644 --- a/ui/panels.py +++ b/ui/panels.py @@ -453,6 +453,12 @@ def draw_vse_toolbox_menu(self, context): self.layout.menu("VSETB_MT_main_menu") +def draw_file_new(self, context): + self.layout.separator() + op = self.layout.operator('wm.read_homefile', text="Review") + op.filepath = str(REVIEW_TEMPLATE_BLEND) + op.load_ui = True + classes = ( VSETB_PT_main, @@ -475,9 +481,13 @@ def register(): bpy.types.UI_MT_button_context_menu.append(context_menu_prop) bpy.types.SEQUENCER_MT_editor_menus.append(draw_vse_toolbox_menu) + bpy.types.TOPBAR_MT_file_new.append(draw_file_new) + def unregister(): for cls in reversed(classes): bpy.utils.unregister_class(cls) bpy.types.UI_MT_button_context_menu.remove(context_menu_prop) - bpy.types.SEQUENCER_MT_editor_menus.remove(draw_vse_toolbox_menu) \ No newline at end of file + bpy.types.SEQUENCER_MT_editor_menus.remove(draw_vse_toolbox_menu) + + bpy.types.TOPBAR_MT_file_new.remove(draw_file_new) \ No newline at end of file