Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2019-05-16 16:02:15 +0300
committerWilliam Reynish <billrey@me.com>2019-05-16 16:02:15 +0300
commit9c1ec1d132c20b2a12ebf197e617014f65780d94 (patch)
tree87580794becd6b171de19cf265d795e224735d04 /release/scripts/startup/bl_ui/space_sequencer.py
parentdeeb2634633fb60e9f293123165f3148839672f0 (diff)
Fix: Some Sequencer panels were missing a category, causing warnings
Diffstat (limited to 'release/scripts/startup/bl_ui/space_sequencer.py')
-rw-r--r--release/scripts/startup/bl_ui/space_sequencer.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py
index 3dfb0b881e2..2d466be4ccb 100644
--- a/release/scripts/startup/bl_ui/space_sequencer.py
+++ b/release/scripts/startup/bl_ui/space_sequencer.py
@@ -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