[Bf-blender-cvs] [9c1ec1d132c] master: Fix: Some Sequencer panels were missing a category, causing warnings
William Reynish
noreply at git.blender.org
Thu May 16 15:02:17 CEST 2019
Commit: 9c1ec1d132c20b2a12ebf197e617014f65780d94
Author: William Reynish
Date: Thu May 16 15:02:15 2019 +0200
Branches: master
https://developer.blender.org/rB9c1ec1d132c20b2a12ebf197e617014f65780d94
Fix: Some Sequencer panels were missing a category, causing warnings
===================================================================
M release/scripts/startup/bl_ui/space_sequencer.py
===================================================================
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
More information about the Bf-blender-cvs
mailing list