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