Mercurial > hg > svcore
comparison data/model/AlignmentModel.cpp @ 1705:28f9ff7864c6 single-point
Add error field to alignment model
author | Chris Cannam |
---|---|
date | Wed, 15 May 2019 17:51:43 +0100 |
parents | 187c76c40c6f |
children | 54a954ee7529 |
comparison
equal
deleted
inserted
replaced
1704:452b48b29c2d | 1705:28f9ff7864c6 |
---|---|
74 } | 74 } |
75 | 75 |
76 bool | 76 bool |
77 AlignmentModel::isOK() const | 77 AlignmentModel::isOK() const |
78 { | 78 { |
79 if (m_error != "") return false; | |
79 if (m_rawPath) return m_rawPath->isOK(); | 80 if (m_rawPath) return m_rawPath->isOK(); |
80 else return true; | 81 return true; |
81 } | 82 } |
82 | 83 |
83 sv_frame_t | 84 sv_frame_t |
84 AlignmentModel::getStartFrame() const | 85 AlignmentModel::getStartFrame() const |
85 { | 86 { |