diff data/fileio/CSVFileReader.cpp @ 980:6e6da0636e5e tonioni

Merge from default branch
author Chris Cannam
date Tue, 09 Sep 2014 16:36:21 +0100
parents fae5689f7e27
children dc1695b90a58
line wrap: on
line diff
--- a/data/fileio/CSVFileReader.cpp	Tue Sep 02 16:23:48 2014 +0100
+++ b/data/fileio/CSVFileReader.cpp	Tue Sep 09 16:36:21 2014 +0100
@@ -430,7 +430,7 @@
         }
     }
 
-    if (modelType == CSVFormat::ThreeDimensionalModel) {
+    if (model3) {
 	model3->setMinimumLevel(min);
 	model3->setMaximumLevel(max);
     }