diff 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
line wrap: on
line diff
--- a/data/model/AlignmentModel.cpp	Mon May 13 15:43:23 2019 +0100
+++ b/data/model/AlignmentModel.cpp	Wed May 15 17:51:43 2019 +0100
@@ -76,8 +76,9 @@
 bool
 AlignmentModel::isOK() const
 {
+    if (m_error != "") return false;
     if (m_rawPath) return m_rawPath->isOK();
-    else return true;
+    return true;
 }
 
 sv_frame_t