diff layer/Colour3DPlotLayer.cpp @ 76:45ba0b381c5d

* Fix long-standing off-by-1 bug in WaveFileModel that was getting us the wrong values for almost all audio data when merging channels (channel == -1) * Implement cut, copy and paste * Make draw mode work properly in time value layer * Minor fixes to CSV import
author Chris Cannam
date Fri, 07 Apr 2006 17:50:33 +0000
parents 705f05ab42e3
children 2be85befe873
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp	Thu Apr 06 12:12:41 2006 +0000
+++ b/layer/Colour3DPlotLayer.cpp	Fri Apr 07 17:50:33 2006 +0000
@@ -333,6 +333,9 @@
 		    paint.setPen(Qt::black);//!!!
 		}
 	    }
+            
+//            std::cout << "rect " << rx0 << "," << (ry0 - h / sh - 1) << " "
+//                      << w << "x" << (h / sh + 1) << std::endl;
 
 	    paint.drawRect(r);