From 37faba232f13d822483cb45f7667826514a10ec2 Mon Sep 17 00:00:00 2001 From: Dennis Crenshaw Date: Mon, 25 Dec 2023 02:40:06 +0100 Subject: [PATCH 1/5] Fix accessing attribute on None type in make_hold_frame operator attribute-access-on-none-type --- power_sequencer/operators/make_hold_frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/power_sequencer/operators/make_hold_frame.py b/power_sequencer/operators/make_hold_frame.py index ff743b7ec..7e62cef50 100644 --- a/power_sequencer/operators/make_hold_frame.py +++ b/power_sequencer/operators/make_hold_frame.py @@ -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 + 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 -- 2.30.2 From 9be162b5fa1e683440cc6143e41cf4a4889747c8 Mon Sep 17 00:00:00 2001 From: Dennis Crenshaw Date: Mon, 25 Dec 2023 02:44:24 +0100 Subject: [PATCH 2/5] Fix accessing attribute on None type in speed_remove_effect operator --- power_sequencer/operators/speed_remove_effect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/power_sequencer/operators/speed_remove_effect.py b/power_sequencer/operators/speed_remove_effect.py index 83d272620..aeb20e005 100644 --- a/power_sequencer/operators/speed_remove_effect.py +++ b/power_sequencer/operators/speed_remove_effect.py @@ -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 -- 2.30.2 From 6cedd990ff62b36728ace2629b3f4e7e81f2977f Mon Sep 17 00:00:00 2001 From: Dennis Crenshaw Date: Mon, 25 Dec 2023 02:57:50 +0100 Subject: [PATCH 3/5] Update Power Seqencer wiki and issue links --- power_sequencer/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/power_sequencer/__init__.py b/power_sequencer/__init__.py index 0e1f9a092..fbe436400 100755 --- a/power_sequencer/__init__.py +++ b/power_sequencer/__init__.py @@ -29,8 +29,8 @@ 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/", + "tracker_url": "https://projects.blender.org/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml", + "wiki_url": "https://docs.blender.org/manual/en/latest/addons/sequencer/power_sequencer.html", "support": "COMMUNITY", "category": "Sequencer", } -- 2.30.2 From cade748ff9a68f502832695d5fc0f6f9b7bceff4 Mon Sep 17 00:00:00 2001 From: Dennis Crenshaw Date: Fri, 29 Dec 2023 15:23:04 +0100 Subject: [PATCH 4/5] Paste error removed return keyword --- power_sequencer/operators/make_hold_frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/power_sequencer/operators/make_hold_frame.py b/power_sequencer/operators/make_hold_frame.py index 7e62cef50..c30e7cc24 100644 --- a/power_sequencer/operators/make_hold_frame.py +++ b/power_sequencer/operators/make_hold_frame.py @@ -39,7 +39,7 @@ class POWER_SEQUENCER_OT_make_hold_frame(bpy.types.Operator): @classmethod def poll(cls, context): - context.scene.sequence_editor.active_strip.type in SequenceTypes.VIDEO if context.scene.sequence_editor.active_strip is not None else None + 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 -- 2.30.2 From ae6bfda81e128954c228080565c7b3741baa1d1b Mon Sep 17 00:00:00 2001 From: Dennis Crenshaw Date: Fri, 29 Dec 2023 15:47:20 +0100 Subject: [PATCH 5/5] Replace wiki and tracking urls with templated doc_url Replace wiki and tracking urls with templated doc_url which provides automated tracking_url generation --- power_sequencer/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/power_sequencer/__init__.py b/power_sequencer/__init__.py index fbe436400..254a368c6 100755 --- a/power_sequencer/__init__.py +++ b/power_sequencer/__init__.py @@ -29,8 +29,7 @@ bl_info = { "version": (2, 0, 2), "blender": (2, 93, 3), "location": "Sequencer", - "tracker_url": "https://projects.blender.org/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml", - "wiki_url": "https://docs.blender.org/manual/en/latest/addons/sequencer/power_sequencer.html", + "doc_url": "{BLENDER_MANUAL_URL}/addons/sequencer/power_sequencer.html" "support": "COMMUNITY", "category": "Sequencer", } -- 2.30.2