Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Guetzkow <rjg>2021-01-13 11:43:13 +0300
committerRobert Guetzkow <gitcommit@outlook.de>2021-01-13 11:48:13 +0300
commit87889365fe562e594fa989ef6315c001e2cbe63a (patch)
treec6726c451cd579840de2a7ee8854233660fa2be5
parent6fcfb869a5aa4f3aafacf26293c2696f75377f28 (diff)
Fix T84616: Power Sequencer 2.90 API update
The Power Sequencer wasn't updated to use the 2.90 API which changed the selection operators for the sequencer. This commit replaces the old operator with the new `bpy.ops.sequencer.select_side_of_frame` to achieve the same functionality as before. Credit for the identification and fix suggestion goes to @kreako Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D10089
-rwxr-xr-xpower_sequencer/__init__.py4
-rw-r--r--power_sequencer/operators/select_all_left_or_right.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/power_sequencer/__init__.py b/power_sequencer/__init__.py
index 83a53365..3cb5d4f2 100755
--- a/power_sequencer/__init__.py
+++ b/power_sequencer/__init__.py
@@ -38,8 +38,8 @@ bl_info = {
"name": "Power Sequencer",
"description": "Video editing tools for content creators",
"author": "Nathan Lovato",
- "version": (1, 5, 0),
- "blender": (2, 81, 0),
+ "version": (1, 5, 1),
+ "blender": (2, 90, 1),
"location": "Sequencer",
"tracker_url": "https://github.com/GDquest/Blender-power-sequencer/issues",
"doc_url": "https://www.gdquest.com/docs/documentation/power-sequencer/",
diff --git a/power_sequencer/operators/select_all_left_or_right.py b/power_sequencer/operators/select_all_left_or_right.py
index 01e35306..b2e08bb8 100644
--- a/power_sequencer/operators/select_all_left_or_right.py
+++ b/power_sequencer/operators/select_all_left_or_right.py
@@ -62,4 +62,4 @@ class POWER_SEQUENCER_OT_select_all_left_or_right(bpy.types.Operator):
return context.sequences
def execute(self, context):
- return bpy.ops.sequencer.select("INVOKE_DEFAULT", left_right=self.side)
+ return bpy.ops.sequencer.select_side_of_frame("INVOKE_DEFAULT", side=self.side)