comparison align/LinearAligner.cpp @ 773:699b5b130ea2 pitch-align

Fixes to aligner destruction sequence when re-aligning during alignment; hide debug output behind a flag
author Chris Cannam
date Mon, 01 Jun 2020 17:13:09 +0100
parents 486add472c3f
children
comparison
equal deleted inserted replaced
772:8280f7a363d1 773:699b5b130ea2
104 ModelId()); 104 ModelId());
105 105
106 auto alignmentModelId = ModelById::add(alignment); 106 auto alignmentModelId = ModelById::add(alignment);
107 107
108 alignment->setPath(path); 108 alignment->setPath(path);
109 alignment->setCompletion(100);
109 toAlign->setAlignment(alignmentModelId); 110 toAlign->setAlignment(alignmentModelId);
110 m_document->addNonDerivedModel(alignmentModelId); 111 m_document->addNonDerivedModel(alignmentModelId);
111 112
112 emit complete(alignmentModelId); 113 emit complete(alignmentModelId);
113 } 114 }