Mercurial > hg > svcore
diff data/model/AlignmentModel.cpp @ 1561:d3814e07b8aa
Debug bits
author | Chris Cannam |
---|---|
date | Thu, 01 Nov 2018 15:01:41 +0000 |
parents | 21f21354c834 |
children | 70e172e6cc59 |
line wrap: on
line diff
--- a/data/model/AlignmentModel.cpp Thu Nov 01 15:01:32 2018 +0000 +++ b/data/model/AlignmentModel.cpp Thu Nov 01 15:01:41 2018 +0000 @@ -101,10 +101,16 @@ { if (!m_pathBegun && m_rawPath) { if (completion) *completion = 0; +#ifdef DEBUG_ALIGNMENT_MODEL + SVDEBUG << "AlignmentModel::isReady: path not begun" << endl; +#endif return false; } if (m_pathComplete) { if (completion) *completion = 100; +#ifdef DEBUG_ALIGNMENT_MODEL + SVDEBUG << "AlignmentModel::isReady: path complete" << endl; +#endif return true; } if (!m_rawPath) { @@ -112,6 +118,9 @@ // m_pathComplete true above) or else no alignment has been // set at all yet (this case) if (completion) *completion = 0; +#ifdef DEBUG_ALIGNMENT_MODEL + SVDEBUG << "AlignmentModel::isReady: no raw path" << endl; +#endif return false; } return m_rawPath->isReady(completion);