Mercurial > hg > svcore
changeset 1281:6463046bd21d 3.0-integration
Debug note when we overrun end of data
author | Chris Cannam |
---|---|
date | Wed, 23 Nov 2016 10:34:45 +0000 |
parents | c97a28a3baeb |
children | 56c06dc0937c |
files | data/model/FFTModel.cpp |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/data/model/FFTModel.cpp Wed Nov 23 10:34:30 2016 +0000 +++ b/data/model/FFTModel.cpp Wed Nov 23 10:34:45 2016 +0000 @@ -269,6 +269,12 @@ range.first, range.second - range.first); + if (data.empty()) { + SVDEBUG << "NOTE: empty source data for range (" << range.first << "," + << range.second << ") (model end frame " + << m_model->getEndFrame() << ")" << endl; + } + // don't return a partial frame data.resize(range.second - range.first, 0.f);