Cleanup: defer import

This commit is contained in:
Campbell Barton 2023-10-05 13:07:57 +11:00
parent 0e1eff96e2
commit 385e73e30b
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,6 @@ from bl_ui.space_toolsystem_common import (
ToolActivePanelHelper,
)
from rna_prop_ui import PropertyPanel
from bl_ui_utils.layout import operator_context
def _space_view_types(st):
@ -964,11 +963,12 @@ class SEQUENCER_MT_strip_retiming(Menu):
)
class SEQUENCER_MT_strip(Menu):
bl_label = "Strip"
def draw(self, context):
from bl_ui_utils.layout import operator_context
layout = self.layout
st = context.space_data
has_sequencer, _has_preview = _space_view_types(st)