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:
authorNathan Lovato <nathan@gdquest.com>2021-01-24 03:17:35 +0300
committerNathan Lovato <nathan@gdquest.com>2021-01-24 03:17:35 +0300
commitcd176b2617bd3ede969c3aa218ee54a79fc69f27 (patch)
treeb4f51b2c46a95f1ebb8a001269cd8ae6f417bf2a /power_sequencer/operators/scene_create_from_selection.py
parentb482ca0078d5640306985f478bb1dec3dbe7219b (diff)
Update power sequencer to v2.0.1
Changelog: https://github.com/GDQuest/blender-power-sequencer/blob/master/CHANGELOG.md#power-sequencer-201 Commit range: https://github.com/GDQuest/blender-power-sequencer/compare/1.5.0...2.0.1
Diffstat (limited to 'power_sequencer/operators/scene_create_from_selection.py')
-rw-r--r--power_sequencer/operators/scene_create_from_selection.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/power_sequencer/operators/scene_create_from_selection.py b/power_sequencer/operators/scene_create_from_selection.py
index b615dae9..cd774d0d 100644
--- a/power_sequencer/operators/scene_create_from_selection.py
+++ b/power_sequencer/operators/scene_create_from_selection.py
@@ -67,7 +67,6 @@ class POWER_SEQUENCER_OT_scene_create_from_selection(bpy.types.Operator):
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()
@@ -85,8 +84,10 @@ class POWER_SEQUENCER_OT_scene_create_from_selection(bpy.types.Operator):
bpy.ops.power_sequencer.delete_direct()
bpy.ops.sequencer.scene_strip_add(
- frame_start=selection_start_frame, channel=selection_start_channel, scene=new_scene_name
+ frame_start=selection_start_frame,
+ channel=selection_start_channel,
+ scene=new_scene_name,
)
scene_strip = context.selected_sequences[0]
- # scene_strip.use_sequence = True
+ # scene_strip.use_sequence = True
return {"FINISHED"}