Cleanup: don't register dope-sheet header types

These are only used to hold static methods, there is no reason to
register them.
This commit is contained in:
2020-09-17 14:38:45 +10:00
parent 7a1c405bb4
commit 3fb7e5df50
2 changed files with 3 additions and 17 deletions

View File

@@ -18,17 +18,11 @@
# <pep8 compliant>
import bpy
from bpy.types import Header, Menu, Panel
from bpy.types import Menu, Panel
# Header buttons for timeline header (play, etc.)
class TIME_HT_editor_buttons(Header):
bl_idname = "TIME_HT_editor_buttons"
bl_space_type = 'DOPESHEET_EDITOR'
bl_label = ""
def draw(self, context):
pass
class TIME_HT_editor_buttons:
@staticmethod
def draw_header(context, layout):
@@ -311,7 +305,6 @@ class TIME_PT_keyframing_settings(TimelinePanelButtons, Panel):
###################################
classes = (
TIME_HT_editor_buttons,
TIME_MT_editor_menus,
TIME_MT_marker,
TIME_MT_view,