From 8113633bb984352a08c14d4e7624bfddd54e91b5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 11 Oct 2022 03:25:06 +0200 Subject: [PATCH] Cleanup Track Automation kids Send levels are dedicated to each send (Processor), and not route-owned direct child automation for each time-axis. --- gtk2_ardour/audio_time_axis.cc | 5 ----- gtk2_ardour/midi_time_axis.cc | 1 - 2 files changed, 6 deletions(-) diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index f269c47e29..7c8d28b2b1 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -192,11 +192,6 @@ AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool create_gain_automation_child (param, show); - } else if (param.type() == BusSendLevel) { - - // XXX this does not seem correct - create_trim_automation_child (param, show); - } else if (param.type() == TrimAutomation) { create_trim_automation_child (param, show); diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index bdf5b34f39..5a5c002907 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -1352,7 +1352,6 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool switch (param.type()) { case GainAutomation: - case BusSendLevel: create_gain_automation_child (param, show); break;