Mercurial > hg > svapp
diff framework/SVFileReader.cpp @ 181:b35c7af2e1d0
* Add start frame get/set to EditableDenseThreeDimensionalModel and use it
when importing grids from CSV with timings attached
author | Chris Cannam |
---|---|
date | Fri, 11 Sep 2009 15:42:32 +0000 |
parents | d71dccaa576c |
children | fe83e6e68683 |
line wrap: on
line diff
--- a/framework/SVFileReader.cpp Thu Aug 27 16:31:45 2009 +0000 +++ b/framework/SVFileReader.cpp Fri Sep 11 15:42:32 2009 +0000 @@ -515,6 +515,9 @@ int dataset = attributes.value("dataset").trimmed().toInt(&ok); if (ok) m_awaitingDatasets[dataset] = id; + int startFrame = attributes.value("startFrame").trimmed().toInt(&ok); + if (ok) model->setStartFrame(startFrame); + model->setObjectName(name); m_models[id] = model; return true;