Skip to content

Commit

Permalink
always clear existing etaner when building a new one
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 31, 2017
1 parent 85a1e49 commit c1c960e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TimingData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,7 @@ float TimingData::WhereUAtBroNoOffset(float beat) const {
}

const vector<float>& TimingData::BuildAndGetEtaner(const vector<int>& nerv) {
ElapsedTimesAtNonEmptyRows.clear();
for (size_t i = 0; i < nerv.size(); i++)
ElapsedTimesAtNonEmptyRows.emplace_back(GetElapsedTimeFromBeatNoOffset(NoteRowToBeat(nerv[i])));
return ElapsedTimesAtNonEmptyRows;
Expand Down

0 comments on commit c1c960e

Please sign in to comment.