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>2013-01-06 16:49:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-06 16:49:55 +0400
commitc2c90cf910f339bb82f28fc636b66fdff9757497 (patch)
treee53f01d0a7c788f057314d895e73970d2238f32a /io_sequencer_edl
parent2e29310724e00291e1138bebccb0965a676f626f (diff)
update for change in blenders api
Diffstat (limited to 'io_sequencer_edl')
-rw-r--r--io_sequencer_edl/import_edl.py19
1 files changed, 12 insertions, 7 deletions
diff --git a/io_sequencer_edl/import_edl.py b/io_sequencer_edl/import_edl.py
index 24faaef7..ff95c7c5 100644
--- a/io_sequencer_edl/import_edl.py
+++ b/io_sequencer_edl/import_edl.py
@@ -35,7 +35,7 @@ def scale_meta_speed(sequence_editor, strip_list, strip_movie, scale):
name="Speed",
type='SPEED',
seq1=strip_movie,
- start_frame=dummy_frame,
+ frame_start=dummy_frame,
channel=strip_movie.channel + 1)
strip_list.append(strip_speed)
@@ -159,8 +159,8 @@ def load_edl(scene, filename, reel_files, reel_offsets, global_offset):
strip = sequence_editor.sequences.new_effect(
name="Color",
type='COLOR',
- start_frame=rec_start,
- end_frame=rec_start + max(1, rec_length),
+ frame_start=rec_start,
+ frame_end=rec_start + max(1, rec_length),
channel=track + 1)
strip_list.append(strip)
final_strips.append(strip)
@@ -177,7 +177,7 @@ def load_edl(scene, filename, reel_files, reel_offsets, global_offset):
name=edit.reel,
filepath=path_full,
channel=track + 1,
- start_frame=unedited_start + offset_start)
+ frame_start=unedited_start + offset_start)
strip_list.append(strip)
#except:
# return "Invalid input for movie"
@@ -214,7 +214,12 @@ def load_edl(scene, filename, reel_files, reel_offsets, global_offset):
other_track = track + 2
for other in prev_edit.custom_data:
if other.type != 'SOUND':
- strip_wipe = sequence_editor.sequences.new_effect(name="Wipe", type='WIPE', seq1=final_strip, start_frame=dummy_frame, channel=other_track)
+ strip_wipe = sequence_editor.sequences.new_effect(
+ name="Wipe",
+ type='WIPE',
+ seq1=final_strip,
+ frame_start=dummy_frame,
+ channel=other_track)
strip_list.append(strip_wipe)
from math import radians
@@ -244,7 +249,7 @@ def load_edl(scene, filename, reel_files, reel_offsets, global_offset):
name=edit.reel,
filepath=path_full,
channel=track + 6,
- start_frame=unedited_start + offset_start)
+ frame_start=unedited_start + offset_start)
strip_list.append(strip)
except:
@@ -257,7 +262,7 @@ def load_edl(scene, filename, reel_files, reel_offsets, global_offset):
name=edit.reel,
filepath=path_full_wav,
channel=track + 6,
- start_frame=unedited_start + offset_start)
+ frame_start=unedited_start + offset_start)
strip_list.append(strip)
#except:
# return "Invalid input for audio"