AudioRegionView now uses ControlList::editor_add().
This commit is contained in:
parent
1768e9817e
commit
aa1cdd26ca
@ -1251,7 +1251,7 @@ AudioRegionView::add_gain_point_event (ArdourCanvas::Item *item, GdkEvent *ev, b
|
|||||||
trackview.session()->add_command (new MementoCommand<AudioRegion>(*(audio_region().get()), ®ion_before, ®ion_after));
|
trackview.session()->add_command (new MementoCommand<AudioRegion>(*(audio_region().get()), ®ion_before, ®ion_after));
|
||||||
}
|
}
|
||||||
|
|
||||||
audio_region()->envelope()->add (fx, y, with_guard_points);
|
audio_region()->envelope()->editor_add (fx, y, with_guard_points);
|
||||||
|
|
||||||
XMLNode &after = audio_region()->envelope()->get_state();
|
XMLNode &after = audio_region()->envelope()->get_state();
|
||||||
trackview.session()->add_command (new MementoCommand<AutomationList>(*audio_region()->envelope().get(), &before, &after));
|
trackview.session()->add_command (new MementoCommand<AutomationList>(*audio_region()->envelope().get(), &before, &after));
|
||||||
|
Loading…
Reference in New Issue
Block a user