Mercurial > hg > svcore
comparison data/model/SparseModel.h @ 1609:560453546749 single-point
Start some sparse model tests
author | Chris Cannam |
---|---|
date | Tue, 05 Mar 2019 13:21:55 +0000 |
parents | 0e0947896fd3 |
children | 23a29e5dc0e9 |
comparison
equal
deleted
inserted
replaced
1608:0e0947896fd3 | 1609:560453546749 |
---|---|
578 { | 578 { |
579 QMutexLocker locker(&m_mutex); | 579 QMutexLocker locker(&m_mutex); |
580 sv_frame_t f = 0; | 580 sv_frame_t f = 0; |
581 if (!m_points.empty()) { | 581 if (!m_points.empty()) { |
582 PointListConstIterator i(m_points.end()); | 582 PointListConstIterator i(m_points.end()); |
583 f = (--i)->frame + 1; | 583 f = (--i)->frame + getResolution(); |
584 } | 584 } |
585 if (m_extendTo > f) { | 585 if (m_extendTo > f) { |
586 return m_extendTo; | 586 return m_extendTo; |
587 } else { | 587 } else { |
588 return f; | 588 return f; |