Skip to content

Commit 0082c32

Browse files
committed
switched color in makeOtio to use OTIO Color rather than strings, added docstrings and updated variable/function naming
Signed-off-by: Yingjie Wang <[email protected]>
1 parent e89327e commit 0082c32

File tree

2 files changed

+38
-282
lines changed

2 files changed

+38
-282
lines changed

src/py-opentimelineio/opentimelineio/console/otiodiff/getDiff.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,14 +339,14 @@ def makeNewOtio(clipTable, trackType):
339339
if trackType == otio.schema.Track.Kind.Video:
340340
newTl.tracks.extend(tracksInA)
341341

342-
newEmpty = makeOtio.makeEmptyTrack(trackType)
342+
newEmpty = makeOtio.makeSeparaterTrack(trackType)
343343
newTl.tracks.append(newEmpty)
344344

345345
newTl.tracks.extend(tracksInB)
346346
elif trackType == otio.schema.Track.Kind.Audio:
347347
newTl.tracks.extend(tracksInB)
348348

349-
newEmpty = makeOtio.makeEmptyTrack(trackType)
349+
newEmpty = makeOtio.makeSeparaterTrack(trackType)
350350
newTl.tracks.append(newEmpty)
351351

352352
newTl.tracks.extend(tracksInA)

0 commit comments

Comments
 (0)