comparison layer/TimeValueLayer.cpp @ 1433:9abddbd57667 single-point

Updates for SparseOneDimensionalModel in new API
author Chris Cannam
date Thu, 21 Mar 2019 13:34:08 +0000
parents 5b9692768beb
children 696e569ff21b
comparison
equal deleted inserted replaced
1432:5b9692768beb 1433:9abddbd57667
1617 TimeValueLayer::paste(LayerGeometryProvider *v, const Clipboard &from, sv_frame_t /* frameOffset */, 1617 TimeValueLayer::paste(LayerGeometryProvider *v, const Clipboard &from, sv_frame_t /* frameOffset */,
1618 bool interactive) 1618 bool interactive)
1619 { 1619 {
1620 if (!m_model) return false; 1620 if (!m_model) return false;
1621 1621
1622 const EventVector &points = from.getPoints(); 1622 EventVector points = from.getPoints();
1623 1623
1624 bool realign = false; 1624 bool realign = false;
1625 1625
1626 if (clipboardHasDifferentAlignment(v, from)) { 1626 if (clipboardHasDifferentAlignment(v, from)) {
1627 1627