Accidentally overrode changes in 40d5254741

This commit is contained in:
2019-05-20 18:09:25 +02:00
parent 5c9adc1614
commit b5446f01fd

View File

@@ -1522,7 +1522,7 @@ class SEQUENCER_PT_cache_settings(SequencerButtonsPanel, Panel):
@classmethod
def poll(cls, context):
return cls.has_sequencer(context)
return cls.has_sequencer(context) and context.scene.sequence_editor
def draw(self, context):
layout = self.layout
@@ -1542,7 +1542,7 @@ class SEQUENCER_PT_proxy_settings(SequencerButtonsPanel, Panel):
@classmethod
def poll(cls, context):
return cls.has_sequencer(context)
return cls.has_sequencer(context) and context.scene.sequence_editor
def draw(self, context):
layout = self.layout
@@ -1564,7 +1564,7 @@ class SEQUENCER_PT_strip_proxy(SequencerButtonsPanel, Panel):
@classmethod
def poll(cls, context):
if not cls.has_sequencer(context):
if not cls.has_sequencer(context) and context.scene.sequence_editor:
return False
strip = act_strip(context)