comparison data/model/AlignmentModel.cpp @ 1560:21f21354c834

When a path is set explicitly, it is complete
author Chris Cannam
date Thu, 01 Nov 2018 15:01:32 +0000
parents 48e9f538e6e9
children d3814e07b8aa
comparison
equal deleted inserted replaced
1559:c55de1488b93 1560:21f21354c834
379 AlignmentModel::setPath(PathModel *path) 379 AlignmentModel::setPath(PathModel *path)
380 { 380 {
381 if (m_path) m_path->aboutToDelete(); 381 if (m_path) m_path->aboutToDelete();
382 delete m_path; 382 delete m_path;
383 m_path = path; 383 m_path = path;
384 m_pathComplete = true;
384 #ifdef DEBUG_ALIGNMENT_MODEL 385 #ifdef DEBUG_ALIGNMENT_MODEL
385 cerr << "AlignmentModel::setPath: path = " << m_path << endl; 386 cerr << "AlignmentModel::setPath: path = " << m_path << endl;
386 #endif 387 #endif
387 constructReversePath(); 388 constructReversePath();
388 #ifdef DEBUG_ALIGNMENT_MODEL 389 #ifdef DEBUG_ALIGNMENT_MODEL