[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4146] trunk/py/scripts/addons/ io_sequencer_edl/import_edl.py: update for change in blenders api

Campbell Barton ideasman42 at gmail.com
Sun Jan 6 13:50:01 CET 2013


Revision: 4146
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4146
Author:   campbellbarton
Date:     2013-01-06 12:49:55 +0000 (Sun, 06 Jan 2013)
Log Message:
-----------
update for change in blenders api

Modified Paths:
--------------
    trunk/py/scripts/addons/io_sequencer_edl/import_edl.py

Modified: trunk/py/scripts/addons/io_sequencer_edl/import_edl.py
===================================================================
--- trunk/py/scripts/addons/io_sequencer_edl/import_edl.py	2013-01-06 10:15:19 UTC (rev 4145)
+++ trunk/py/scripts/addons/io_sequencer_edl/import_edl.py	2013-01-06 12:49:55 UTC (rev 4146)
@@ -35,7 +35,7 @@
             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 @@
             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 @@
                         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 @@
                     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 @@
                                 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 @@
                                 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"



More information about the Bf-extensions-cvs mailing list