diff data/model/EditableDenseThreeDimensionalModel.cpp @ 439:beb2948baa77

* Merge revisions 1041 to 1130 from sv-rdf-import branch
author Chris Cannam
date Thu, 18 Sep 2008 12:09:32 +0000
parents 7aa1de571880
children 1405f4a2caf3
line wrap: on
line diff
--- a/data/model/EditableDenseThreeDimensionalModel.cpp	Thu Aug 07 16:06:59 2008 +0000
+++ b/data/model/EditableDenseThreeDimensionalModel.cpp	Thu Sep 18 12:09:32 2008 +0000
@@ -178,6 +178,8 @@
 
     bool allChange = false;
 
+    if (values.size() > m_yBinCount) m_yBinCount = values.size();
+
     for (size_t i = 0; i < values.size(); ++i) {
         float value = values[i];
         if (std::isnan(value) || std::isinf(value)) {