Cleanup: avoid early imports, remove unused variable

This commit is contained in:
Campbell Barton
2023-04-13 13:13:59 +10:00
parent 741d8dc1e2
commit b0edd63752
3 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
from bpy.types import Header, Menu, Panel
from bl_ui_utils.layout import operator_context
from bl_ui.space_dopesheet import (
DopesheetFilterPopoverBase,
dopesheet_filter,
@@ -241,6 +240,8 @@ class GRAPH_MT_key(Menu):
bl_label = "Key"
def draw(self, _context):
from bl_ui_utils.layout import operator_context
layout = self.layout
layout.menu("GRAPH_MT_key_transform", text="Transform")