comparison layer/NoteLayer.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
comparison
equal deleted inserted replaced
82:82482231b6b1 83:01f27a282c90
764 m_model->getPoints(s.getStartFrame(), s.getEndFrame()); 764 m_model->getPoints(s.getStartFrame(), s.getEndFrame());
765 765
766 for (NoteModel::PointList::iterator i = points.begin(); 766 for (NoteModel::PointList::iterator i = points.begin();
767 i != points.end(); ++i) { 767 i != points.end(); ++i) {
768 if (s.contains(i->frame)) { 768 if (s.contains(i->frame)) {
769 Clipboard::Point point(i->frame, i->label); 769 Clipboard::Point point(i->frame, i->value, i->duration, i->label);
770 to.addPoint(point); 770 to.addPoint(point);
771 } 771 }
772 } 772 }
773 } 773 }
774 774