Mercurial > hg > svgui
changeset 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 | 82482231b6b1 |
children | c683705adcbf |
files | layer/NoteLayer.cpp layer/TimeValueLayer.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/NoteLayer.cpp Thu Apr 27 17:29:19 2006 +0000 +++ b/layer/NoteLayer.cpp Fri Apr 28 12:52:17 2006 +0000 @@ -766,7 +766,7 @@ for (NoteModel::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->duration, i->label); to.addPoint(point); } }
--- 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); } }