Add support for Region Fx Automation

This commit is contained in:
Robin Gareus 2024-04-17 03:53:30 +02:00
parent e5506d281a
commit b2d4280e0f
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
22 changed files with 552 additions and 202 deletions

View file

@ -470,8 +470,8 @@ AudioStreamView::set_selected_points (PointSelection& points)
{
for (list<RegionView *>::iterator i = region_views.begin(); i != region_views.end(); ++i) {
AudioRegionView* const arv = dynamic_cast<AudioRegionView*>(*i);
if (arv && arv->get_gain_line ()) {
arv->get_gain_line ()->set_selected_points (points);
if (arv && arv->fx_line ()) {
arv->fx_line ()->set_selected_points (points);
}
}
}