From afd23d42cdace1186805ef9a4f92fbc0112c1375 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 11 Oct 2022 02:39:14 +0200 Subject: [PATCH] Add dedicated InsertReturnLevel type (2/2) --- gtk2_ardour/automation_line.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index e67b8a93b3..92ca8a329c 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -210,6 +210,7 @@ AutomationLine::get_uses_gain_mapping () const case BusSendLevel: case EnvelopeAutomation: case TrimAutomation: + case InsertReturnLevel: return true; default: return false; @@ -400,6 +401,7 @@ AutomationLine::string_to_fraction (string const & s) const case BusSendLevel: case EnvelopeAutomation: case TrimAutomation: + case InsertReturnLevel: if (s == "-inf") { /* translation */ v = 0; } else {