Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Snapshots/SnapshotClass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,7 @@ Snapshot::Snapshot(const char* chunk)
TrackSnapshot* ts = NULL;
m_cName = NULL;
m_cNotes = NULL;
m_iSlot = 0;

int auxEnvsOccurence = -1;

Expand Down Expand Up @@ -822,7 +823,6 @@ Snapshot::Snapshot(const char* chunk)

ts->m_sends.m_sends.Add(new TrackSend(line, AUXVOL.Get(), AUXPAN.Get(), AUXMUTE.Get()));
}

else if (strcmp("HWOUT", lp.gettoken_str(0)) == 0)
ts->m_sends.m_hwSends.Add(new WDL_FastString(line));
else if (strcmp("FX", lp.gettoken_str(0)) == 0) // "One liner"
Expand Down Expand Up @@ -869,7 +869,9 @@ Snapshot::Snapshot(const char* chunk)
else if (ts->ProcessEnv(chunk, line, 4096, &pos, "<MUTEENV", &ts->m_sMuteEnv)) {}
}
}
RegisterSnapshotSlot(m_iSlot);

if (m_iSlot > 0)
RegisterSnapshotSlot(m_iSlot);
}

Snapshot::~Snapshot()
Expand Down