From 50044bd059699fc72d9db53569fac6d1d39c20cd Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 19 Aug 2024 06:35:35 +0200 Subject: [PATCH] RegionFX: clamp automation line to region extent --- gtk2_ardour/region_fx_line.cc | 2 ++ gtk2_ardour/region_gain_line.cc | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/region_fx_line.cc b/gtk2_ardour/region_fx_line.cc index 44945d930a..84a8c09e14 100644 --- a/gtk2_ardour/region_fx_line.cc +++ b/gtk2_ardour/region_fx_line.cc @@ -30,6 +30,7 @@ RegionFxLine::RegionFxLine (std::string const& name, RegionView& r, ArdourCanvas : AutomationLine (name, r.get_time_axis_view(), parent, l, d) , _rv (r) { + terminal_points_can_slide = false; init (); } @@ -38,6 +39,7 @@ RegionFxLine::RegionFxLine (std::string const& name, RegionView& r, ArdourCanvas , _rv (r) , _ac (ac) { + terminal_points_can_slide = false; init (); } diff --git a/gtk2_ardour/region_gain_line.cc b/gtk2_ardour/region_gain_line.cc index bfabb2604c..2340c6f794 100644 --- a/gtk2_ardour/region_gain_line.cc +++ b/gtk2_ardour/region_gain_line.cc @@ -45,8 +45,6 @@ AudioRegionGainLine::AudioRegionGainLine (const string & name, AudioRegionView& : RegionFxLine (name, r, parent, l, l->parameter ()) , arv (r) { - - terminal_points_can_slide = false; } void