Mercurial > hg > svgui
diff view/AlignmentView.cpp @ 1459:42c87368287c
Merge from branch single-point
author | Chris Cannam |
---|---|
date | Fri, 17 May 2019 10:02:52 +0100 |
parents | 9abddbd57667 |
children | 84c4ddb38415 |
line wrap: on
line diff
--- a/view/AlignmentView.cpp Wed Apr 24 11:29:53 2019 +0100 +++ b/view/AlignmentView.cpp Fri May 17 10:02:52 2019 +0100 @@ -165,10 +165,9 @@ vector<sv_frame_t> keyFrames; - const SparseOneDimensionalModel::PointList pp = m->getPoints(); - for (SparseOneDimensionalModel::PointList::const_iterator pi = pp.begin(); - pi != pp.end(); ++pi) { - keyFrames.push_back(pi->frame); + EventVector pp = m->getAllEvents(); + for (EventVector::const_iterator pi = pp.begin(); pi != pp.end(); ++pi) { + keyFrames.push_back(pi->getFrame()); } return keyFrames; @@ -193,8 +192,3 @@ return keyFrames; } - - - - -