Fix: Some Sequencer panels were missing a category, causing warnings
This commit is contained in:
@@ -722,6 +722,7 @@ class SEQUENCER_PT_adjust_offset(SequencerButtonsPanel, Panel):
|
||||
bl_label = "Offset"
|
||||
bl_parent_id = "SEQUENCER_PT_adjust"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
bl_category = "Strip"
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
@@ -751,6 +752,7 @@ class SEQUENCER_PT_adjust_crop(SequencerButtonsPanel, Panel):
|
||||
bl_label = "Crop"
|
||||
bl_parent_id = "SEQUENCER_PT_adjust"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
bl_category = "Strip"
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
@@ -1289,6 +1291,7 @@ class SEQUENCER_PT_adjust(SequencerButtonsPanel, Panel):
|
||||
class SEQUENCER_PT_adjust_sound(SequencerButtonsPanel, Panel):
|
||||
bl_label = "Sound"
|
||||
bl_parent_id = "SEQUENCER_PT_adjust"
|
||||
bl_category = "Strip"
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
@@ -1327,6 +1330,7 @@ class SEQUENCER_PT_adjust_sound(SequencerButtonsPanel, Panel):
|
||||
class SEQUENCER_PT_adjust_comp(SequencerButtonsPanel, Panel):
|
||||
bl_label = "Compositing"
|
||||
bl_parent_id = "SEQUENCER_PT_adjust"
|
||||
bl_category = "Strip"
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
@@ -1514,6 +1518,7 @@ class SEQUENCER_PT_proxy(SequencerButtonsPanel, Panel):
|
||||
class SEQUENCER_PT_preview(SequencerButtonsPanel_Output, Panel):
|
||||
bl_label = "Scene Preview/Render"
|
||||
bl_space_type = 'SEQUENCE_EDITOR'
|
||||
bl_category = "View"
|
||||
bl_region_type = 'UI'
|
||||
|
||||
def draw(self, context):
|
||||
@@ -1531,6 +1536,7 @@ class SEQUENCER_PT_preview(SequencerButtonsPanel_Output, Panel):
|
||||
|
||||
class SEQUENCER_PT_view(SequencerButtonsPanel_Output, Panel):
|
||||
bl_label = "View Settings"
|
||||
bl_category = "View"
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
@@ -1554,6 +1560,7 @@ class SEQUENCER_PT_view(SequencerButtonsPanel_Output, Panel):
|
||||
|
||||
class SEQUENCER_PT_view_safe_areas(SequencerButtonsPanel_Output, Panel):
|
||||
bl_label = "Safe Areas"
|
||||
bl_category = "View"
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
|
||||
@classmethod
|
||||
@@ -1687,6 +1694,7 @@ class SEQUENCER_PT_modifiers(SequencerButtonsPanel, Panel):
|
||||
class SEQUENCER_PT_grease_pencil(AnnotationDataPanel, SequencerButtonsPanel_Output, Panel):
|
||||
bl_space_type = 'SEQUENCE_EDITOR'
|
||||
bl_region_type = 'UI'
|
||||
bl_category = "View"
|
||||
|
||||
# NOTE: this is just a wrapper around the generic GP Panel
|
||||
# But, it should only show up when there are images in the preview region
|
||||
@@ -1695,6 +1703,7 @@ class SEQUENCER_PT_grease_pencil(AnnotationDataPanel, SequencerButtonsPanel_Outp
|
||||
class SEQUENCER_PT_grease_pencil_tools(GreasePencilToolsPanel, SequencerButtonsPanel_Output, Panel):
|
||||
bl_space_type = 'SEQUENCE_EDITOR'
|
||||
bl_region_type = 'UI'
|
||||
bl_category = "View"
|
||||
|
||||
# NOTE: this is just a wrapper around the generic GP tools panel
|
||||
# It contains access to some essential tools usually found only in
|
||||
|
Reference in New Issue
Block a user