[Bf-extensions-cvs] [9286d97d] blender-v2.83-release: Power Sequencer: update to version 1.5, fix for Blender 2.83
Nathan Lovato
noreply at git.blender.org
Fri May 29 09:54:01 CEST 2020
Commit: 9286d97d67270264665b280774ecd61616a6c151
Author: Nathan Lovato
Date: Thu May 14 14:40:24 2020 -0600
Branches: blender-v2.83-release
https://developer.blender.org/rBA9286d97d67270264665b280774ecd61616a6c151
Power Sequencer: update to version 1.5, fix for Blender 2.83
This makes the add-on compatible with Blender 2.83 after renaming the cut operator to split.
The update brings mainly bug fixes and quality of life improvements.
Changelog: https://github.com/GDQuest/blender-power-sequencer/blob/master/CHANGELOG.md#power-sequencer-1
36 Commits: https://github.com/GDQuest/blender-power-sequencer/compare/1.4.0...fb55bc77cf31920ddfe6fd4342b11e53ac988c93
===================================================================
M power_sequencer/__init__.py
M power_sequencer/addon_preferences.py
M power_sequencer/addon_properties.py
M power_sequencer/handlers.py
M power_sequencer/operators/__init__.py
M power_sequencer/operators/align_audios.py
M power_sequencer/operators/audiosync/__init__.py
M power_sequencer/operators/audiosync/convert_and_trim.py
M power_sequencer/operators/audiosync/cross_correlation.py
M power_sequencer/operators/audiosync/ensure_non_zero.py
M power_sequencer/operators/audiosync/find_offset.py
M power_sequencer/operators/audiosync/mfcc/__init__.py
M power_sequencer/operators/audiosync/mfcc/mfcc.py
M power_sequencer/operators/audiosync/mfcc/segment_axis.py
M power_sequencer/operators/audiosync/mfcc/trfbank.py
M power_sequencer/operators/audiosync/std_mfcc.py
M power_sequencer/operators/channel_offset.py
M power_sequencer/operators/concatenate_strips.py
M power_sequencer/operators/copy_selected_sequences.py
M power_sequencer/operators/crossfade_add.py
M power_sequencer/operators/crossfade_edit.py
M power_sequencer/operators/cut_strips_under_cursor.py
M power_sequencer/operators/delete_direct.py
M power_sequencer/operators/deselect_all_left_or_right.py
M power_sequencer/operators/deselect_handles_and_grab.py
M power_sequencer/operators/duplicate_move.py
M power_sequencer/operators/expand_to_surrounding_cuts.py
M power_sequencer/operators/fade_add.py
M power_sequencer/operators/fade_clear.py
M power_sequencer/operators/gap_remove.py
M power_sequencer/operators/grab.py
M power_sequencer/operators/grab_closest_handle_or_cut.py
M power_sequencer/operators/grab_sequence_handles.py
M power_sequencer/operators/import_local_footage.py
M power_sequencer/operators/jump_time_offset.py
M power_sequencer/operators/jump_to_cut.py
R059 power_sequencer/operators/make_still_image.py power_sequencer/operators/make_hold_frame.py
M power_sequencer/operators/marker_delete_closest.py
M power_sequencer/operators/marker_delete_direct.py
M power_sequencer/operators/marker_snap_to_cursor.py
M power_sequencer/operators/markers_as_timecodes.py
M power_sequencer/operators/markers_create_from_selected.py
M power_sequencer/operators/markers_set_preview_in_between.py
M power_sequencer/operators/markers_snap_matching_strips.py
M power_sequencer/operators/meta_resize_to_content.py
M power_sequencer/operators/meta_trim_content_to_bounds.py
M power_sequencer/operators/meta_ungroup_and_trim.py
M power_sequencer/operators/mouse_toggle_mute.py
M power_sequencer/operators/mouse_trim_instantly.py
M power_sequencer/operators/mouse_trim_modal.py
M power_sequencer/operators/open_project_directory.py
M power_sequencer/operators/playback_speed_decrease.py
M power_sequencer/operators/playback_speed_increase.py
M power_sequencer/operators/playback_speed_set.py
M power_sequencer/operators/preview_closest_cut.py
M power_sequencer/operators/preview_to_selection.py
M power_sequencer/operators/render_apply_preset.py
M power_sequencer/operators/render_presets/twitter_720p.py
M power_sequencer/operators/render_presets/youtube_1080.py
M power_sequencer/operators/ripple_delete.py
M power_sequencer/operators/save_direct.py
M power_sequencer/operators/scene_create_from_selection.py
M power_sequencer/operators/scene_cycle.py
M power_sequencer/operators/scene_merge_from.py
M power_sequencer/operators/scene_open_from_strip.py
M power_sequencer/operators/scene_rename_with_strip.py
M power_sequencer/operators/select_all_left_or_right.py
M power_sequencer/operators/select_closest_to_mouse.py
M power_sequencer/operators/select_linked_effect.py
M power_sequencer/operators/select_linked_strips.py
M power_sequencer/operators/select_related_strips.py
M power_sequencer/operators/select_strips_under_cursor.py
M power_sequencer/operators/set_timeline_range.py
M power_sequencer/operators/snap.py
M power_sequencer/operators/snap_selection.py
M power_sequencer/operators/space_sequences.py
M power_sequencer/operators/speed_remove_effect.py
M power_sequencer/operators/speed_up_movie_strip.py
M power_sequencer/operators/swap_strips.py
M power_sequencer/operators/toggle_selected_mute.py
M power_sequencer/operators/toggle_waveforms.py
M power_sequencer/operators/transitions_remove.py
M power_sequencer/operators/trim_left_or_right_handles.py
M power_sequencer/operators/trim_three_point_edit.py
M power_sequencer/operators/trim_to_surrounding_cuts.py
M power_sequencer/operators/utils/__init__.py
M power_sequencer/operators/utils/doc.py
M power_sequencer/operators/utils/draw.py
M power_sequencer/operators/utils/functions.py
M power_sequencer/operators/utils/global_settings.py
M power_sequencer/operators/utils/info_progress_bar.py
M power_sequencer/scripts/BPSProxy/bpsproxy/commands.py
M power_sequencer/scripts/BPSProxy/bpsproxy/utils.py
M power_sequencer/scripts/BPSProxy/setup.py
M power_sequencer/scripts/BPSRender/bpsrender/__init__.py
M power_sequencer/scripts/BPSRender/bpsrender/helpers.py
M power_sequencer/scripts/BPSRender/setup.py
M power_sequencer/tools/__init__.py
M power_sequencer/ui/__init__.py
M power_sequencer/ui/menu_contextual.py
M power_sequencer/ui/menu_toolbar.py
M power_sequencer/utils/addon_auto_imports.py
M power_sequencer/utils/register_shortcuts.py
===================================================================
diff --git a/power_sequencer/__init__.py b/power_sequencer/__init__.py
index 3ec6999f..1817a7d6 100755
--- a/power_sequencer/__init__.py
+++ b/power_sequencer/__init__.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
@@ -38,11 +38,11 @@ bl_info = {
"name": "Power Sequencer",
"description": "Video editing tools for content creators",
"author": "Nathan Lovato",
- "version": (1, 4, 0),
- "blender": (2, 80, 0),
+ "version": (1, 5, 0),
+ "blender": (2, 81, 0),
"location": "Sequencer",
"tracker_url": "https://github.com/GDquest/Blender-power-sequencer/issues",
- "doc_url": "https://www.gdquest.com/docs/documentation/power-sequencer/",
+ "wiki_url": "https://www.gdquest.com/docs/documentation/power-sequencer/",
"support": "COMMUNITY",
"category": "Sequencer",
}
@@ -70,13 +70,11 @@ def register():
bpy.utils.register_class(cls)
# Register tools
- version_min_toolbar = (2, 83, 0)
- if is_blender_version_compatible(version_min_toolbar):
- classes_tool = get_tool_classes()
- last_tool = {"builtin.cut"}
- for index, cls in enumerate(classes_tool):
- bpy.utils.register_tool(cls, after=last_tool, separator=index == 0)
- last_tool = {cls.bl_idname}
+ classes_tool = get_tool_classes()
+ last_tool = {"builtin.cut"}
+ for index, cls in enumerate(classes_tool):
+ bpy.utils.register_tool(cls, after=last_tool, separator=index == 0)
+ last_tool = {cls.bl_idname}
# Register keymaps
keymaps = register_shortcuts(classes_operator)
@@ -98,10 +96,8 @@ def unregister():
for cls in classes_operator:
bpy.utils.unregister_class(cls)
- version_min_toolbar = (2, 82, 0)
- if is_blender_version_compatible(version_min_toolbar):
- for cls in classes_tool:
- bpy.utils.unregister_tool(cls)
+ for cls in classes_tool:
+ bpy.utils.unregister_tool(cls)
unregister_ui()
unregister_preferences()
@@ -109,11 +105,3 @@ def unregister():
unregister_handlers()
print("Unregistered {}".format(bl_info["name"]))
-
-
-def is_blender_version_compatible(version: Tuple[int, int, int]) -> bool:
- """Returns True if the `version` is greater or equal to the current Blender version.
- Converts the versions to integers to compare them."""
- version_int = version[0] * 1000 + version[1] * 10 + version[2]
- blender_version_int = bpy.app.version[0] * 1000 + bpy.app.version[1] * 10 + bpy.app.version[2]
- return blender_version_int >= version_int
diff --git a/power_sequencer/addon_preferences.py b/power_sequencer/addon_preferences.py
index fcc67e9c..0ca31330 100644
--- a/power_sequencer/addon_preferences.py
+++ b/power_sequencer/addon_preferences.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
diff --git a/power_sequencer/addon_properties.py b/power_sequencer/addon_properties.py
index 06cbe1da..45c5bc20 100644
--- a/power_sequencer/addon_properties.py
+++ b/power_sequencer/addon_properties.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
diff --git a/power_sequencer/handlers.py b/power_sequencer/handlers.py
index 8e93bb27..b960662f 100644
--- a/power_sequencer/handlers.py
+++ b/power_sequencer/handlers.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
diff --git a/power_sequencer/operators/__init__.py b/power_sequencer/operators/__init__.py
index 65f84902..3ab79520 100755
--- a/power_sequencer/operators/__init__.py
+++ b/power_sequencer/operators/__init__.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
@@ -28,7 +28,7 @@ def get_operator_classes():
classes = []
print(__name__)
for path in module_paths:
- module = importlib.import_module(path, package="power_sequencer.operators")
+ module = importlib.import_module(path, package="blender_power_sequencer.operators")
operator_names = [entry for entry in dir(module) if entry.startswith("POWER_SEQUENCER_OT")]
classes.extend([getattr(module, name) for name in operator_names])
return classes
diff --git a/power_sequencer/operators/align_audios.py b/power_sequencer/operators/align_audios.py
index a280f1fd..0bd99aba 100644
--- a/power_sequencer/operators/align_audios.py
+++ b/power_sequencer/operators/align_audios.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
@@ -15,6 +15,7 @@
# not, see <https://www.gnu.org/licenses/>.
#
import bpy
+import subprocess
from .utils.doc import doc_name, doc_idname, doc_brief, doc_description
diff --git a/power_sequencer/operators/audiosync/__init__.py b/power_sequencer/operators/audiosync/__init__.py
index 9fc19da4..74dd6f5a 100644
--- a/power_sequencer/operators/audiosync/__init__.py
+++ b/power_sequencer/operators/audiosync/__init__.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
diff --git a/power_sequencer/operators/audiosync/convert_and_trim.py b/power_sequencer/operators/audiosync/convert_and_trim.py
index 859186d8..fddf702d 100644
--- a/power_sequencer/operators/audiosync/convert_and_trim.py
+++ b/power_sequencer/operators/audiosync/convert_and_trim.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
diff --git a/power_sequencer/operators/audiosync/cross_correlation.py b/power_sequencer/operators/audiosync/cross_correlation.py
index b18ab35e..dc337475 100644
--- a/power_sequencer/operators/audiosync/cross_correlation.py
+++ b/power_sequencer/operators/audiosync/cross_correlation.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
diff --git a/power_sequencer/operators/audiosync/ensure_non_zero.py b/power_sequencer/operators/audiosync/ensure_non_zero.py
index 911ab91b..589da529 100644
--- a/power_sequencer/operators/audiosync/ensure_non_zero.py
+++ b/power_sequencer/operators/audiosync/ensure_non_zero.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
diff --git a/power_sequencer/operators/audiosync/find_offset.py b/power_sequencer/operators/audiosync/find_offset.py
index 35b17a14..02287839 100644
--- a/power_sequencer/operators/audiosync/find_offset.py
+++ b/power_sequencer/operators/audiosync/find_offset.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
diff --git a/power_sequencer/operators/audiosync/mfcc/__init__.py b/power_sequencer/operators/audiosync/mfcc/__init__.py
index 2b20af43..204646ca 100644
--- a/power_sequencer/operators/audiosync/mfcc/__init__.py
+++ b/power_sequencer/operators/audiosync/mfcc/__init__.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
diff --git a/power_sequencer/operators/audiosync/mfcc/mfcc.py b/power_sequencer/operators/audiosync/mfcc/mfcc.py
index d63c3e33..3cb1c7dd 100644
--- a/power_sequencer/operators/audiosync/mfcc/mfcc.py
+++ b/power_sequencer/operators/audiosync/mfcc/mfcc.py
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2016-2019 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
+# Copyright (C) 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
#
# This file is part of Power Sequencer.
#
@@ -16,6 +16,10 @@
#
import numpy as np
+from scipy.signal import hamming, lfilter
+from scipy.fftpack import fft
+from scipy.fftpack.realtransforms import dct
+
from .trfbank import trfbank
from .segment_axis import segment_axis
@@ -52,10 +56,6 @@ def mfcc(input, nwin=256, nfft=512, fs=16000, nceps=13):
spoken sentences", IEEE Trans. Acoustics. Speech, Signal Proc.
ASSP-28 (4): 357-366, August 1980."""
- from scipy.signal import hamming, lfilter
- from scipy.fftpack import fft
- from scipy.fftpack.realtransforms import dct
-
# MFCC parameters: taken from auditory toolbox
over = nwin - 160
# Pre-emphasis factor (to take into account the -6dB/octave rolloff of the
diff --git a/power_sequencer/operators/audiosync/mfcc/segment_axis.py b/power_sequencer/operators/audiosync/mfcc/segment_
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-extensions-cvs
mailing list