Cleanup: Power Sequencer update links and none type attribute access errors #105085
@ -30,7 +30,7 @@ class POWER_SEQUENCER_OT_speed_remove_effect(bpy.types.Operator):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def poll(cls, context):
|
def poll(cls, context):
|
||||||
return context.scene.sequence_editor.active_strip.type == "META"
|
return context.scene.sequence_editor.active_strip.type == "META" if context.scene.sequence_editor.active_strip is not None else None
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
active = context.scene.sequence_editor.active_strip
|
active = context.scene.sequence_editor.active_strip
|
||||||
|
Loading…
Reference in New Issue
Block a user