From ec5a809f54edf921971b46bf6461f8c1251bd820 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sat, 16 Jan 2021 14:02:47 +1100 Subject: [PATCH] pt import: Fix crash with bringing in material Hopefully the weird pt import crash is now gone! --- libs/ardour/import_pt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/import_pt.cc b/libs/ardour/import_pt.cc index 8a8762d441..8de4df6129 100644 --- a/libs/ardour/import_pt.cc +++ b/libs/ardour/import_pt.cc @@ -359,8 +359,8 @@ Session::import_pt_rest (PTFFormat& ptf) playlist->add_region (copy, a->reg.startpos); //add_command (new StatefulDiffCommand (playlist)); nth++; + usedtracks.push_back (utr); } - usedtracks.push_back (utr); } } }