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.
3 changed files with 3 additions and 4 deletions

View File

@ -29,8 +29,7 @@ bl_info = {
"version": (2, 0, 2), "version": (2, 0, 2),
"blender": (2, 93, 3), "blender": (2, 93, 3),
"location": "Sequencer", "location": "Sequencer",
"tracker_url": "https://github.com/GDquest/Blender-power-sequencer/issues", "doc_url": "{BLENDER_MANUAL_URL}/addons/sequencer/power_sequencer.html"
"wiki_url": "https://www.gdquest.com/docs/documentation/power-sequencer/",
"support": "COMMUNITY", "support": "COMMUNITY",
"category": "Sequencer", "category": "Sequencer",
} }

View File

@ -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 return 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

View File

@ -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