Mercurial > hg > svapp
comparison framework/SVFileReader.cpp @ 681:c7406ebcd51c by-id
Update for ModelById
author | Chris Cannam |
---|---|
date | Mon, 24 Jun 2019 16:14:12 +0100 |
parents | 21673429dba5 |
children | 7540733f5480 |
comparison
equal
deleted
inserted
replaced
680:a82b9d410393 | 681:c7406ebcd51c |
---|---|
420 if (m_models.find(componentId) != m_models.end()) { | 420 if (m_models.find(componentId) != m_models.end()) { |
421 RangeSummarisableTimeValueModel *rs = | 421 RangeSummarisableTimeValueModel *rs = |
422 dynamic_cast<RangeSummarisableTimeValueModel *> | 422 dynamic_cast<RangeSummarisableTimeValueModel *> |
423 (m_models[componentId]); | 423 (m_models[componentId]); |
424 if (rs) { | 424 if (rs) { |
425 //!!! NB difference between model id and model | |
426 //!!! export id - we need to be clearer about this | |
425 specs.push_back(AggregateWaveModel::ModelChannelSpec | 427 specs.push_back(AggregateWaveModel::ModelChannelSpec |
426 (rs, -1)); | 428 (rs->getId(), -1)); |
427 found = true; | 429 found = true; |
428 } | 430 } |
429 } | 431 } |
430 if (!found) { | 432 if (!found) { |
431 SVDEBUG << "SVFileReader::makeAggregateModels:" | 433 SVDEBUG << "SVFileReader::makeAggregateModels:" |