mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Fix alignment of automation paste.
Preserve alignment between notes and control points when doing an internal copy/paste of both. Relative alignment between points on multi-paste is still not preserved. Both behaviours here are actually useful, perhaps a modifier...
This commit is contained in:
parent
116722f182
commit
4f8714a038
3 changed files with 35 additions and 13 deletions
|
|
@ -277,6 +277,9 @@ AutomationStreamView::clear ()
|
|||
void
|
||||
AutomationStreamView::get_selectables (framepos_t start, framepos_t end, double botfrac, double topfrac, list<Selectable*>& results)
|
||||
{
|
||||
if (!_trackview.editor().internal_editing()) {
|
||||
return; // TODO: selection of automation regions
|
||||
}
|
||||
for (list<RegionView*>::iterator i = region_views.begin(); i != region_views.end(); ++i) {
|
||||
AutomationRegionView* arv = dynamic_cast<AutomationRegionView*> (*i);
|
||||
assert (arv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue