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:
authorCampbell Barton <ideasman42@gmail.com>2020-08-05 04:38:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-08-05 04:38:23 +0300
commit919541ffbeb34af259f2950c785d9cb7cc392f33 (patch)
treec8b86e93e6e661fe7561d06300f2656d785c36ef /power_sequencer
parentd777821fd6ad33be4c8bdf8dbedb28827f57caa5 (diff)
Cleanup: trailing space
Diffstat (limited to 'power_sequencer')
-rw-r--r--power_sequencer/operators/scene_create_from_selection.py10
-rw-r--r--power_sequencer/scripts/BPSRender/bpsrender/__init__.py1
2 files changed, 5 insertions, 6 deletions
diff --git a/power_sequencer/operators/scene_create_from_selection.py b/power_sequencer/operators/scene_create_from_selection.py
index 57c6a6df..b615dae9 100644
--- a/power_sequencer/operators/scene_create_from_selection.py
+++ b/power_sequencer/operators/scene_create_from_selection.py
@@ -53,7 +53,7 @@ class POWER_SEQUENCER_OT_scene_create_from_selection(bpy.types.Operator):
def execute(self, context):
start_scene_name = context.scene.name
-
+
if len(context.selected_sequences) != 0:
selection = context.selected_sequences[:]
selection_start_frame = min(
@@ -63,11 +63,11 @@ class POWER_SEQUENCER_OT_scene_create_from_selection(bpy.types.Operator):
# Create new scene for the scene strip
bpy.ops.scene.new(type="FULL_COPY")
-
+
context.window.scene.name = context.selected_sequences[0].name
new_scene_name = context.window.scene.name
-
-
+
+
###after full copy also unselected strips are in the sequencer... Delete those strips
bpy.ops.sequencer.select_all(action="INVERT")
bpy.ops.power_sequencer.delete_direct()
@@ -80,7 +80,7 @@ class POWER_SEQUENCER_OT_scene_create_from_selection(bpy.types.Operator):
bpy.ops.sequencer.select_all()
bpy.ops.power_sequencer.preview_to_selection()
- # Back to start scene
+ # Back to start scene
bpy.context.window.scene = bpy.data.scenes[start_scene_name]
bpy.ops.power_sequencer.delete_direct()
diff --git a/power_sequencer/scripts/BPSRender/bpsrender/__init__.py b/power_sequencer/scripts/BPSRender/bpsrender/__init__.py
index 35a40273..f14cfb6a 100644
--- a/power_sequencer/scripts/BPSRender/bpsrender/__init__.py
+++ b/power_sequencer/scripts/BPSRender/bpsrender/__init__.py
@@ -14,4 +14,3 @@
# You should have received a copy of the GNU General Public License along with Power Sequencer. If
# not, see <https://www.gnu.org/licenses/>.
#
-