diff layer/TimeValueLayer.cpp @ 438:76cd1c89eb06

* minor tidy
author Chris Cannam
date Fri, 24 Oct 2008 16:21:57 +0000
parents 755243c67f59
children 681542f0c8c5
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp	Fri Oct 24 14:52:40 2008 +0000
+++ b/layer/TimeValueLayer.cpp	Fri Oct 24 16:21:57 2008 +0000
@@ -67,6 +67,9 @@
 
     connectSignals(m_model);
 
+    m_scaleMinimum = 0;
+    m_scaleMaximum = 0;
+
 //    std::cerr << "TimeValueLayer::setModel(" << model << ")" << std::endl;
 
     emit modelReplaced();
@@ -292,7 +295,7 @@
     m_scaleMinimum = min;
     m_scaleMaximum = max;
 
-    std::cerr << "TimeValueLayer::setDisplayExtents: min = " << min << ", max = " << max << std::endl;
+//    std::cerr << "TimeValueLayer::setDisplayExtents: min = " << min << ", max = " << max << std::endl;
     
     emit layerParametersChanged();
     return true;