Skip to content

Commit 21bb52d

Browse files
committed
Fixed a bug where comp clip transitions were not being correctly cross-faded
1 parent e948abd commit 21bb52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/tracktion_engine/model/clips/tracktion_CompManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ bool WaveCompManager::renderTake (CompRenderContext& context, Edit& edit, AudioF
10621062
// N.B. The CombiningNode doesn't clip the source material at all so the FadeInOutNode is used for that
10631063
// Therefore even if there is no fade, the correct start/end times must be used
10641064
auto fadeIn = TimeRange (segmentRange.getStart(),
1065-
i != 0 ? 0_td : crossfadeLength);
1065+
i != 0 ? crossfadeLength : 0_td);
10661066
auto fadeOut = TimeRange::endingAt (segmentRange.getEnd(),
10671067
i != (numSegments - 1) ? crossfadeLength : 0_td);
10681068

0 commit comments

Comments
 (0)