Skip to content

Commit

Permalink
wip: absolute piece extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 8, 2025
1 parent b127ff1 commit 9caf8c4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/corelib/src/playout/infinites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,16 @@ export function getPlayheadTrackingInfinitesForPart(
markPieceInstanceAsContinuation(p, instance)

if (p.infinite) {
// This was copied from before, so we know we can force the time to 0
instance.piece = {
...instance.piece,
enable: {
start: 0,
},
if (!instance.piece.enable.isAbsolute) {
// This was copied from before, so we know we can force the time to 0
instance.piece = {
...instance.piece,
enable: {
start: 0,
},
}
}

instance.infinite = {
...p.infinite,
infiniteInstanceIndex: p.infinite.infiniteInstanceIndex + 1,
Expand Down

0 comments on commit 9caf8c4

Please sign in to comment.