Cleanup: Power Sequencer update links and none type attribute access errors #105085
@ -29,8 +29,7 @@ bl_info = {
|
||||
"version": (2, 0, 2),
|
||||
"blender": (2, 93, 3),
|
||||
"location": "Sequencer",
|
||||
"tracker_url": "https://github.com/GDquest/Blender-power-sequencer/issues",
|
||||
"wiki_url": "https://www.gdquest.com/docs/documentation/power-sequencer/",
|
||||
"doc_url": "{BLENDER_MANUAL_URL}/addons/sequencer/power_sequencer.html"
|
||||
"support": "COMMUNITY",
|
||||
"category": "Sequencer",
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ class POWER_SEQUENCER_OT_make_hold_frame(bpy.types.Operator):
|
||||
|
||||
@classmethod
|
||||
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):
|
||||
window_manager = context.window_manager
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user