Accidentally overrode changes in 40d5254741
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user