Cleanup: Power Sequencer update links and none type attribute access errors #105085

Open
Dennis Crenshaw wants to merge 5 commits from Dennis-Crenshaw/blender-addons:power-sequencer-fixes into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 9be162b5fa - Show all commits

View File

@ -30,7 +30,7 @@ class POWER_SEQUENCER_OT_speed_remove_effect(bpy.types.Operator):
@classmethod
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):
active = context.scene.sequence_editor.active_strip