1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-02 09:54:42 +01:00

When merging tracks, copy the gain and pan as well as the display format, and all are common to both tracks

This commit is contained in:
richardash1981
2013-03-10 16:57:27 +00:00
parent eae6a70c6e
commit 4fc80dd526

View File

@@ -130,7 +130,11 @@ void WaveTrack::Init(const WaveTrack &orig)
void WaveTrack::Merge(const Track &orig)
{
if (orig.GetKind() == Wave)
{
mDisplay = ((WaveTrack &)orig).mDisplay;
mGain = ((WaveTrack &)orig).mGain;
mPan = ((WaveTrack &)orig).mPan;
}
Track::Merge(orig);
}