[Bf-extensions-cvs] [11f5d25c] blender-v2.83-release: Power Sequencer: rename tool, remove print statements

Nathan Lovato noreply at git.blender.org
Fri May 29 09:54:02 CEST 2020


Commit: 11f5d25cd824c5a57afab9c565e74a93961ffdb6
Author: Nathan Lovato
Date:   Thu May 14 18:39:34 2020 -0600
Branches: blender-v2.83-release
https://developer.blender.org/rBA11f5d25cd824c5a57afab9c565e74a93961ffdb6

Power Sequencer: rename tool, remove print statements

The tool builtin.cut was renamed into builtin.blade

===================================================================

M	power_sequencer/__init__.py
M	power_sequencer/operators/__init__.py
M	power_sequencer/operators/import_local_footage.py
M	power_sequencer/operators/scene_create_from_selection.py

===================================================================

diff --git a/power_sequencer/__init__.py b/power_sequencer/__init__.py
index 1817a7d6..8d2c84db 100755
--- a/power_sequencer/__init__.py
+++ b/power_sequencer/__init__.py
@@ -71,7 +71,7 @@ def register():
 
     # Register tools
     classes_tool = get_tool_classes()
-    last_tool = {"builtin.cut"}
+    last_tool = {"builtin.blade"}
     for index, cls in enumerate(classes_tool):
         bpy.utils.register_tool(cls, after=last_tool, separator=index == 0)
         last_tool = {cls.bl_idname}
diff --git a/power_sequencer/operators/__init__.py b/power_sequencer/operators/__init__.py
index a362b599..064ba9b3 100755
--- a/power_sequencer/operators/__init__.py
+++ b/power_sequencer/operators/__init__.py
@@ -28,7 +28,6 @@ def get_operator_classes():
     ]
     module_paths = ["." + os.path.splitext(f)[0] for f in module_files]
     classes = []
-    print(__name__)
     for path in module_paths:
         module = importlib.import_module(path, package="power_sequencer.operators")
         operator_names = [
diff --git a/power_sequencer/operators/import_local_footage.py b/power_sequencer/operators/import_local_footage.py
index b17e803f..1b3a7ea6 100644
--- a/power_sequencer/operators/import_local_footage.py
+++ b/power_sequencer/operators/import_local_footage.py
@@ -93,7 +93,6 @@ class POWER_SEQUENCER_OT_import_local_footage(bpy.types.Operator):
         files_to_import = [
             os.path.join(self.directory, f) for f in self.find_new_files_to_import(filepaths)
         ]
-        print(files_to_import)
         if not files_to_import:
             self.report({"INFO"}, "No new files to import found")
             return {"FINISHED"}
diff --git a/power_sequencer/operators/scene_create_from_selection.py b/power_sequencer/operators/scene_create_from_selection.py
index 14b08768..57c6a6df 100644
--- a/power_sequencer/operators/scene_create_from_selection.py
+++ b/power_sequencer/operators/scene_create_from_selection.py
@@ -65,7 +65,6 @@ class POWER_SEQUENCER_OT_scene_create_from_selection(bpy.types.Operator):
             bpy.ops.scene.new(type="FULL_COPY")
                        
             context.window.scene.name = context.selected_sequences[0].name
-            print(context.selected_sequences[0].name)
             new_scene_name = context.window.scene.name



More information about the Bf-extensions-cvs mailing list