Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
82:82482231b6b1 | 83:01f27a282c90 |
---|---|
1065 m_model->getPoints(s.getStartFrame(), s.getEndFrame()); | 1065 m_model->getPoints(s.getStartFrame(), s.getEndFrame()); |
1066 | 1066 |
1067 for (SparseTimeValueModel::PointList::iterator i = points.begin(); | 1067 for (SparseTimeValueModel::PointList::iterator i = points.begin(); |
1068 i != points.end(); ++i) { | 1068 i != points.end(); ++i) { |
1069 if (s.contains(i->frame)) { | 1069 if (s.contains(i->frame)) { |
1070 Clipboard::Point point(i->frame, i->label); | 1070 Clipboard::Point point(i->frame, i->value, i->label); |
1071 to.addPoint(point); | 1071 to.addPoint(point); |
1072 } | 1072 } |
1073 } | 1073 } |
1074 } | 1074 } |
1075 | 1075 |