comparison framework/SVFileReader.cpp @ 585:050c7b5bd11c

Debug notes, tidying
author Chris Cannam
date Thu, 23 Feb 2017 09:22:56 +0000
parents 150cadf9c5fe
children c196680910dc
comparison
equal deleted inserted replaced
584:0bb2ec333d3b 585:050c7b5bd11c
1218 sourceId = attributes.value("source").trimmed().toInt(&sourceOk); 1218 sourceId = attributes.value("source").trimmed().toInt(&sourceOk);
1219 1219
1220 if (sourceOk && haveModel(sourceId)) { 1220 if (sourceOk && haveModel(sourceId)) {
1221 m_currentTransformSource = m_models[sourceId]; 1221 m_currentTransformSource = m_models[sourceId];
1222 } else { 1222 } else {
1223 SVDEBUG << "NOTE: SV-XML: Can't find a model with id " << sourceId
1224 << " for derivation source, falling back to main model" << endl;
1223 m_currentTransformSource = m_document->getMainModel(); 1225 m_currentTransformSource = m_document->getMainModel();
1224 } 1226 }
1225 1227
1226 m_currentTransform = Transform(); 1228 m_currentTransform = Transform();
1227 1229