cleanup: py imports
This commit is contained in:
@@ -22,7 +22,6 @@ from bpy.types import Header, Menu, Panel
|
||||
from bl_ui.properties_grease_pencil_common import GreasePencilDataPanel, GreasePencilToolsPanel
|
||||
from bpy.app.translations import pgettext_iface as iface_
|
||||
|
||||
from bl_ui.properties_data_camera import draw_display_safe_settings
|
||||
|
||||
def act_strip(context):
|
||||
try:
|
||||
@@ -1000,10 +999,13 @@ class SEQUENCER_PT_view_safe_areas(SequencerButtonsPanel_Output, Panel):
|
||||
self.layout.prop(st, "show_safe_areas", text="")
|
||||
|
||||
def draw(self, context):
|
||||
from bl_ui.properties_data_camera import draw_display_safe_settings
|
||||
|
||||
layout = self.layout
|
||||
st = context.space_data
|
||||
safe_data = context.scene.safe_areas
|
||||
|
||||
draw_display_safe_settings(layout, st)
|
||||
draw_display_safe_settings(layout, safe_data, st)
|
||||
|
||||
|
||||
class SEQUENCER_PT_modifiers(SequencerButtonsPanel, Panel):
|
||||
|
||||
Reference in New Issue
Block a user