From 5374865523faf253a524a002ebcbefe05172fd8d Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Fri, 20 Apr 2018 17:17:10 +0200 Subject: Dopesheet-Timeline: Removal of Timeline Editor! This commit removes all references to the old timeline editor. Unfortuantely, the removal of the Timeline spacetype defining functions has ended up breaking the version patching code I'd been working on earlier (as now, the editor gets marked as "unknown/info" before we get a chance to patch it!) --- release/scripts/startup/bl_ui/space_time.py | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'release/scripts') diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py index c2ebd65316f..c1c73c35258 100644 --- a/release/scripts/startup/bl_ui/space_time.py +++ b/release/scripts/startup/bl_ui/space_time.py @@ -21,24 +21,10 @@ import bpy from bpy.types import Header, Menu -class TIME_HT_header(Header): - bl_space_type = 'TIMELINE' - - def draw(self, context): - layout = self.layout - - row = layout.row(align=True) - row.template_header() - - TIME_MT_editor_menus.draw_collapsible(context, layout) - TIME_HT_editor_buttons.draw_header(context, layout) - - -# Header buttons for actual timeline editor header -# XXX: Temporary, until we have editor submodes in the actual editors menu +# Header buttons for timeline header (play, etc.) class TIME_HT_editor_buttons(Header): bl_idname = "TIME_HT_editor_buttons" - bl_space_type = 'TIMELINE' # XXX: Change this to 'DOPESHEET_EDITOR' + bl_space_type = 'DOPESHEET_EDITOR' bl_label = "" def draw(self, context): @@ -285,7 +271,6 @@ def marker_menu_generic(layout): classes = ( - TIME_HT_header, TIME_HT_editor_buttons, TIME_MT_editor_menus, TIME_MT_marker, -- cgit v1.2.3