diff options
author | Nathan Lovato <nathan@gdquest.com> | 2020-05-15 03:39:34 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-05-29 10:53:43 +0300 |
commit | 11f5d25cd824c5a57afab9c565e74a93961ffdb6 (patch) | |
tree | b44b4ac80731f8106a43f3b042c4eb5be2d90650 | |
parent | 1f2115735ee7eb3a049a2933d74e37e9b4e79345 (diff) |
Power Sequencer: rename tool, remove print statements
The tool builtin.cut was renamed into builtin.blade
-rwxr-xr-x | power_sequencer/__init__.py | 2 | ||||
-rwxr-xr-x | power_sequencer/operators/__init__.py | 1 | ||||
-rw-r--r-- | power_sequencer/operators/import_local_footage.py | 1 | ||||
-rw-r--r-- | power_sequencer/operators/scene_create_from_selection.py | 1 |
4 files changed, 1 insertions, 4 deletions
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 |