diff data/fileio/CSVFileReader.cpp @ 182:f75f8a1cd7b1

* Some dull work to continue unifying the fft model and editable dense 3d model interfaces
author Chris Cannam
date Mon, 09 Oct 2006 10:49:46 +0000
parents 21792a550ec9
children 9c85517ff0f5
line wrap: on
line diff
--- a/data/fileio/CSVFileReader.cpp	Fri Oct 06 16:53:25 2006 +0000
+++ b/data/fileio/CSVFileReader.cpp	Mon Oct 09 10:49:46 2006 +0000
@@ -227,7 +227,7 @@
 
 	} else if (modelType == CSVFormatDialog::ThreeDimensionalModel) {
 
-	    DenseThreeDimensionalModel::BinValueSet values;
+	    DenseThreeDimensionalModel::Column values;
 
 	    for (int i = 0; i < tidyList.size(); ++i) {
 
@@ -254,7 +254,7 @@
 	    std::cerr << "Setting bin values for count " << lineno << ", frame "
 		      << frameNo << ", time " << RealTime::frame2RealTime(frameNo, sampleRate) << std::endl;
 
-	    model3->setBinValues(frameNo, values);
+	    model3->setColumn(frameNo / model3->getResolution(), values);
 	}
 
 	++lineno;