diff options
author | Robert Guetzkow <rjg> | 2021-01-13 11:43:13 +0300 |
---|---|---|
committer | Robert Guetzkow <gitcommit@outlook.de> | 2021-01-13 11:48:13 +0300 |
commit | 87889365fe562e594fa989ef6315c001e2cbe63a (patch) | |
tree | c6726c451cd579840de2a7ee8854233660fa2be5 | |
parent | 6fcfb869a5aa4f3aafacf26293c2696f75377f28 (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-x | power_sequencer/__init__.py | 4 | ||||
-rw-r--r-- | power_sequencer/operators/select_all_left_or_right.py | 2 |
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) |