diff layer/TimeValueLayer.cpp @ 83:01f27a282c90

* Fix failure to pull out values and durations when copying from a layer
author Chris Cannam
date Fri, 28 Apr 2006 12:52:17 +0000
parents 19bf27e4fb29
children 4b98bda7e94d
line wrap: on
line diff
--- a/layer/TimeValueLayer.cpp	Thu Apr 27 17:29:19 2006 +0000
+++ b/layer/TimeValueLayer.cpp	Fri Apr 28 12:52:17 2006 +0000
@@ -1067,7 +1067,7 @@
     for (SparseTimeValueModel::PointList::iterator i = points.begin();
 	 i != points.end(); ++i) {
 	if (s.contains(i->frame)) {
-            Clipboard::Point point(i->frame, i->label);
+            Clipboard::Point point(i->frame, i->value, i->label);
             to.addPoint(point);
         }
     }